I'm trying to add a migration to a project that uses Entity framework 2.1.4. I've been editing the files by hand, but was told the following was the right way:
Running 'dotnet -d migrations add test -c OurContext' but, it gives me the error:
dotnet : Microsoft.DotNet.Cli.Utils.CommandUnknownException: No executable found matching command "dotnet-migrations"
It won't let me delete this question, but the answer was that the person who gave me the command left out the 'ef' in the command. (thanks for the down vote whomever did good grief)
dotnet ef migrations. You left out the
ef part. The actual global tool is
dotnet-ef, when you just have
dotnet migrations, it's looking for a
dotnet-migrations global tool, which is not a thing.