Reputation: 13436
I have a full .NET Framework project (*.csproj) with EF Core data access.
How can I have migrations enabled for EF Core in Non-.NET-Core projects (ASP.NET MVC5)?
I get the following error:
dotnet : No executable found matching command "dotnet-ef"
Upvotes: 2
Views: 1845
Reputation: 26823
The 1.0.0-preview2 and 1.0.0-preview1 releases of EF Core Tools don't work on csproj projects, only project.json. Use the Package Manager Console commands instead. See https://docs.efproject.net/en/latest/miscellaneous/cli/powershell.html
Upvotes: 1