使用的NuGet,升级到5.0.0 ASP我得到以下的NuGet响应的最新版本时:
Using NuGet, when upgrading to the latest version of ASP 5.0.0 I get the following NuGet response:
Attempting to resolve dependency 'Microsoft.AspNet.WebPages (= 3.0.0)'. Attempting to resolve dependency 'Microsoft.Web.Infrastructure (= 1.0.0.0)'. Attempting to resolve dependency 'Microsoft.AspNet.Razor (= 3.0.0)'. Installing 'Microsoft.AspNet.Mvc 5.0.0'. Successfully installed 'Microsoft.AspNet.Mvc 5.0.0'. Updating 'Microsoft.AspNet.Mvc' from version '4.0.30506.0' to '5.0.0' in project 'HotridesMvc'. Install failed. Rolling back... Updating 'Microsoft.AspNet.Mvc 4.0.30506.0' to 'Microsoft.AspNet.Mvc 5.0.0' failed. Unable to find a version of 'AspNetMvc' that is compatible with 'Microsoft.AspNet.Mvc 5.0.0'.有没有人见过这个?我已经在老包配置嗤之以鼻,并没有看到任何明显不妥。
Has anyone seen this? I've had a sniff around the old package configuration and don't see anything obviously amiss.
有一些其他的相关ASPNET更新已工作,即网页的网页,但我现在留下了一个破碎的web应用程序,显示死亡的黄色画面抱怨DLL的问题。
There were a number of other aspnet related updates which have worked, i.e. web-pages, but I'm now left with a broken web-app which shows the yellow screen of death complaining about dll issues.
推荐答案这里的一个关键问题是从UI更新的命令行的NuGet不能及的。像尼古拉斯已发布和正在研究它的NuGet团队意识到这个问题。
A key thing here is to update nuget from the command line and not from the UI. The Nuget team is aware of the issue like Nicholas has posted and are looking into it.
下面是与更新步骤链接:www.asp/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2
Here is a link with the update steps: www.asp/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2
更多推荐
升级到5.0.0 Microsoft.AspNet.Mvc通过的NuGet失败
发布评论