Closed AlizerUncaged closed 1 year ago
Hi @AlizerUncaged
Does the project on which you invoke the context menu is EF Core related? Is it a startup project with Microsoft.EntityFrameworkCore.Tools
/Design
NuGet or compatible migrations project? Please revisit the requirements.
It would be great if you provide repro solution.
Got same problem.
It's caused by exception:
AddMigrationAction#update@ProjectViewPopup (me.seclerp.rider.plugins.efcore.features.migrations.add.AddMigrationAction), actionId=EfCore.Features.Migrations.AddMigrationAction, text='Add Migration'
java.lang.NoClassDefFoundError: com/intellij/workspaceModel/ide/WorkspaceModel
at me.seclerp.rider.plugins.efcore.features.shared.AnActionEventExKt.getFileProject(AnActionEventEx.kt:50)
It looks like it bug was fixed in 2de442b73f3f6b5abbc5d6900a8b7ff0403242a3, but was not released.
Code at tag v232.0.0-eap02
:
https://github.com/JetBrains/rider-efcore/blob/7981add9355bc0ffd3a07d1ab81a9882692bc95f/src/rider/main/kotlin/me/seclerp/rider/plugins/efcore/features/shared/AnActionEventEx.kt#L8
Code at current branch release/232
https://github.com/JetBrains/rider-efcore/blob/26e077b9e797f6627a246fba0340761d26bfce98/src/rider/main/kotlin/com/jetbrains/rider/plugins/efcore/features/shared/AnActionEventEx.kt#L8
Thanks for the investigation!
Seems like a plugin's build for previous EAPs is not valid anymore because of package restructuring. Will release a fix in a few days.
Describe the bug
i can't select use the entity framework core UI because it's greyed out
To Reproduce
Steps to reproduce the behavior:
Expected behavior
ef core ui menu item is clickable
Screenshots
Environment (please complete the following information):