I thought I would post this in case it helps someone else out there.
After building up the models in the MenuSample project and trying to run:
>dotnet ef migrations add InitMenuCards
I was getting an error.
My answer was to go to the MvcMovies tutorial at:
https://docs.microsoft.com/en-us/asp...first-mvc-app/
-
https://docs.microsoft.com/en-us/asp...p/adding-model
and steel the tools section for project.json:
"tools": {
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
}
and I also had to steel this for the dependencies section:
"Microsoft.EntityFrameworkCore.Tools": {
"version": "1.0.0-preview2-final",
"type": "build"
},
then everything seemed to work.
I was able to run the initial migration and I see the Migrations folder and ...InitMenuCards.cs in the folder.
Moving on to finish this section's reading.