I'm trying to use the new .NET Core 1.1 template of ASP.NET Boilerplate but I have problems with migrations.
I compiled the complete solution, set the Web.Mvc project as startup project and then I opened a command prompt with administration rights. I went to the EntityFrameworkCore directory and executed the following command:
"dotnet ef database update"
I got this result:
No executable found matching command "dotnet-ef"
When I changed to the Web.Mvc directory and tried to execute the command here, the result was:
Time Elapsed 00:00:10.05
No DbContext was found in assembly 'BSolutions.BreconsShop.Web.Mvc'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic.
So the "dotnet ef" possibly exists, but don't run in the EntityFrameworkCore directory. Do anyone have a solution for that problem?