Using EF7 in an ASP.NET 5 project, I tried to add migration by typing the following command in the VS Package Manager console:
dnx ef migrations add InitialDatabaseSetup
And I got the error:
Unable to resolve project from C:\Projects\ASPNET5DEMO
The project is inside C: \ Projects \ ASPNET5DEMO \ src \ aspnet5demo.web
If you use the Developer Command Prompt command to go to this path, and then run the command, then everything will be fine ...
Is there a way to use the package manager console?
source
share