使用 NuGet,当升级到 ASP.net 5.0.0 的最新版本时,我得到以下 NuGet 响应:
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'.
有人见过这个吗?我对旧的包配置进行了嗅探,没有发现任何明显的问题。
还有许多其他与aspnet 相关的更新,例如网页,但我现在留下了一个损坏的网络应用程序,它显示黄屏死机,抱怨dll 问题。