The term 'Update-Database' is not recognized as the name of a cmdlet

前端 未结 26 978
无人共我
无人共我 2020-12-07 19:35

I am using EF5 beta1 and while I was able to run the \"Update-Database\" before. Now that I shut down Visual Studio, I cannot get it to run. I get the following error:

26条回答
  •  甜味超标
    2020-12-07 20:19

    In my case, I did the following: - restored missing NuGet packages by clicking "Restore" button on top of the Package Manager Console - restarted Visual Studio - run update-database

提交回复
热议问题