JetBrains / rider-efcore

Entity Framework Core UI plugin for JetBrains Rider
https://plugins.jetbrains.com/plugin/18147-entity-framework-core-ui
MIT License
177 stars 15 forks source link

Tools greyed out since Rider update #151

Closed jerome-poenisch closed 1 year ago

jerome-poenisch commented 1 year ago

Describe the bug

Seemingly since one of the latest Rider versions (currently using JetBrains Rider 2022.3.3) the tools are always greyed out for me even in projects where I happily used them previously.

To Reproduce

Steps to reproduce the behavior:

  1. Open a project using EntityFrameWork ore
  2. Open context menu
  3. Go to Tools
  4. Go to Entity framework Core ->
  5. observe: Greyed out

See https://imgur.com/d8epWDw

Expected behavior

The tools should not be greyed out but usable.

Environment (please complete the following information):

Additional context

Installed (EntityFramework) ckages

See https://imgur.com/UOw1J4j

seclerp commented 1 year ago

Hi @jerome-poenisch, thanks for the report.

Could you create a minimal repro for that issue? In the 223.3.2 patch release we introduced a fix for that stuff and it should work, so repro will be really helpful.

jerome-poenisch commented 1 year ago

@seclerp thanks for coming forward so quickly!

WebApplication1.zip

This is a minimal new project where I would expect this to be working. Am I missing something? Still hoping I'm just holding it wrong 😉

seclerp commented 1 year ago

It's really strange, working fine on my side on both old UI and new UI

image

seclerp commented 1 year ago

Are you trying to access Entity Framework Core menu from the solution context menu?

image

If so, it will not work this way :)

You should either use the project's context menu

image

or Tools | Entity Framework Core:

image

jerome-poenisch commented 1 year ago

ha yes @seclerp it works on the project context menu!

Not sure if this changed but I was kind of used to directly do it via the context menu of the migrations folder within the project - that was where I tried i all the time.

Thanks for clarifying this in such a detailed manner!