Hi,
I have a project on an MVC Core + JQuery template, version 9.0.1. Sometimes, when I need to add a new migration (Code First) using EF Tools, it says in the Package Manager Console that the Entity Framework was not found. To fix that, I have to install the EntityFramework package and uninstall (install-Package Entityframework). It works for a moment and then the error comes up next time I need to add a new migration.
Any idea how to resolve it?
Kind regards, Leonardo Willrich.
5 Answer(s)
-
0
Hi,
If I understand the problem correctly, you need to install https://learn.microsoft.com/en-us/ef/core/cli/dotnet
-
0
-
0
Hi,
Could you share a screenshot of the error next time you face this error ?
Thanks,
-
0
Yes, I can. Recently I haven't changed too much the project entities. I'll let you know when it is happening again.
-
0
Thanks. Waiting for your reply then.