When I enter this command: 'Enable-Migrations' in Package Manager Console I get this error:
"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 p ath 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"
I am using VS2010 with EF 4.0 and I was just doing really simple test project for deploying web site with windows azure,but for some reason I can not enable migrations.
Anyone has any idea? Thanks
Try to restart Visual Studio. It helped in my case.
First thing you need VS2010 Professional SP1.
After that please reinstall application package with commmand Install-Package EntityFramework -IncludePrerelease and it should solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With