我最近尝试对ASP MVC项目进行一些更新,但我无法再运行迁移。这在以前工作正常 - 不确定发生了什么,我现在收到以下错误
PM> update-database
update-database : The term 'update-database' 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:1
+ update-database
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (update-database:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
可能出现什么问题?这是在一次新的回购之后开始的。我试过重新启动视觉工作室,但没有快乐。