我已經升級ASP.NET MVC4到ASP.NET MVC 5.1以下steps from this WebSite如何升級到ASP.NET MVC 5和Web API 2
我停頓在升級的NuGet包後解決的NuGet DLL地獄,有有很多錯誤和rollsback的:
例如
Install failed. Rolling back...
Install-Package : Updating 'Microsoft.AspNet.WebApi.Core 4.0.20710.0' to
'Microsoft.AspNet.WebApi.Core 5.1.0' failed. Unable to find a version of
'Microsoft.AspNet.WebApi.OData' that is compatible with 'Microsoft.AspNet.
WebApi.Core 5.1.0'.
或
Update-Package : Updating 'Microsoft.Net.Http 2.0.20710.0'
to 'Microsoft.Net.Http 2.2.18' failed. Unable to find versions of
'Microsoft.AspNet.WebApi.Client, Microsoft.AspNet.WebApi.OData' that
are compatible with 'Microsoft.Net.Http 2.2.18'.
是否有一些簡單的步驟來清理和更新所有並擺脫這個DLL地獄?
我一直在那裏。我說出來的唯一方法是痛苦的。恐怕你已經知道它是什麼了。 – stink