重装powershell出现错误

无法将“Enable-Migrations”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后重试。 所在位置 行:1 字符: 18 + Enable-Migrations <<<< + CategoryInfo : ObjectNotFound: (Enable-Migrations:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

使用

PM> Update-Package

命令后调用成功

我估计是powershell与数据库连接模块的部署在安装时没有妥当。

posted @ 2012-11-04 11:22  Raywang80s  阅读(714)  评论(1编辑  收藏  举报