asp.net-mvc-4 – 首先无法识别mvc代码中的“启用迁移”一词
发布时间:2020-12-15 22:48:41 所属栏目:asp.Net 来源:网络整理
导读:我试图在我的新的mvc 4应用程序中第一次运行 PM启用迁移 – 启用自动迁移 我在玩 Enable-Migrations : 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
我试图在我的新的mvc 4应用程序中第一次运行
PM>启用迁移 – 启用自动迁移 我在玩 Enable-Migrations : 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:1 + Enable-Migrations –EnableAutomaticMigrations 我失踪了什么我已经安装了e.f 5. 解决方法
尝试在包管理器控制台中键入:
Install-Package EntityFramework -IncludePrerelease 然后重新启动Visual Studio. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net-mvc – 在实体框架中我只想包括第一个子对象而不是
- asp.net-mvc – 使用ELMAH记录EventLog中的错误
- asp.net-mvc – 似乎无法使MvcSiteMapProvider与具有路由值
- asp.net-mvc-2 – asp.net-mvc2 – 不使用Model的强类型助手
- 如何以编程方式设置ASP.NET ReportViewer控件的数据源?
- asp.net – REST服务的成员资格/授权
- asp.net-mvc – 使用FileResult返回压缩文件的ASP.NET MVC缺
- asp.net-mvc – 有没有办法重命名RequestVerificationToken
- asp.net-mvc – 如何在没有提示的情况下为Google Chrome启用
- asp.net-mvc – 用于OpenID OAuth简单身份验证的ASP.NET MV
推荐文章
站长推荐
热点阅读