I have installed Entity Framework thorough nuget. I have VS2019 .net console application.
In the Package Manager console, I run Enable-Migrations
.
I get exception:
The term 'Enable-Migrations' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:18
+ Enable-Migrations <<<<
+ CategoryInfo : ObjectNotFound: (Enable-Migrations:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
add-migration InitialCreate -c MyDbContext
- Dennis1679