Install Microsoft.EntityFrameworkCore.Tools to avoid embarrassment #113
Replies: 2 comments 8 replies
-
Hello, Basic concepts and rules of using EF Core are out of the scope of this plugin, Currently, it's a clever wrapper over You can't execute any But even if we go this way of adding the functionality that you are talking about, how exactly do you expect it to be presented on the UI? We have a dropdown for startup projects, only correct projects could be listed there. We could make a comment near this field to describe a requirement for the dropdown a bit better, for example. |
Beta Was this translation helpful? Give feedback.
-
Hi, @seclerp, thanks for the detailed reply. I also saw that some plugin users created #issues(#112) with the same question, and they were asked to install the Tools package, which is correct. But we can simplify it. The simplest way to detect detect is Tools installed:
The hard way is install EntityFrameworkCore.Tools for a DatabaseContext project, I don't think that will work for everyone. You can use "Tools package is missed" dialog, but use "Install" and "Cancel" instead of "Ok". |
Beta Was this translation helpful? Give feedback.
-
It took me a while to figure out somewhere the plugin worked, but in some project it did not and why it wasn't looking for the Startup Project, until I found that you have to use the Tools package to migrate. It would be cool to offer to install this package somehow, or install it automatically in the project which contains DatabaseContext
Unfortunately I don't know kotlin and Jetbrains plugins code, I can't create a PR, but I believe it's easy to do, thank you
Beta Was this translation helpful? Give feedback.
All reactions