我今天从头开始重建我的应用程序,并使用 NuGet 将微风安装到我的应用程序中,但由于依赖项而失败。对于接下来的几个版本,我被迫使用框架 4.0 而不是 4.5。是否有解决依赖问题的方法?
Attempting to resolve dependency 'Microsoft.AspNet.WebApi'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.WebHost (≥ 5.0.0-alpha-130319 && ≤ 5.0.65535.65535)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Core (≥ 5.0.0-alpha-130319 && ≤ 5.0.65535.65535)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.Client (≥ 5.0.0-alpha-130319 && ≤ 5.0.65535.65535)'.
Attempting to resolve dependency 'Microsoft.AspNet.WebApi.OData'.
Attempting to resolve dependency 'Microsoft.Data.OData (≥ 5.2.0 && < 5.3.0)'.
Attempting to resolve dependency 'System.Spatial (= 5.2.0)'.
Attempting to resolve dependency 'Microsoft.Data.Edm (= 5.2.0)'.
Attempting to resolve dependency 'WebActivator'.
Attempting to resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
Attempting to resolve dependency 'EntityFramework (≥ 4.4 && < 6.0)'.
Attempting to resolve dependency 'Q'.
Successfully installed 'Microsoft.AspNet.WebApi.Client 5.0.0-alpha-130319'.
Successfully installed 'Microsoft.AspNet.WebApi.Core 5.0.0-alpha-130319'.
Successfully installed 'Microsoft.AspNet.WebApi.WebHost 5.0.0-alpha-130319'.
Successfully installed 'Microsoft.AspNet.WebApi 5.0.0-alpha-130319'.
Successfully installed 'System.Spatial 5.2.0'.
Successfully installed 'Microsoft.Data.Edm 5.2.0'.
Successfully installed 'Microsoft.Data.OData 5.2.0'.
Successfully installed 'Microsoft.AspNet.WebApi.OData 5.0.0-alpha-130319'.
Successfully installed 'WebActivator 1.5.3'.
Successfully installed 'Q 0.9.2'.
Successfully installed 'Breeze.WebApi 1.2.4'.
Install failed. Rolling back...
Updating 'Microsoft.AspNet.WebApi.WebHost 4.0.20710.0' to 'Microsoft.AspNet.WebApi.WebHost 5.0.0-alpha-130319' failed. Unable to find a version of 'Microsoft.AspNet.WebApi.HelpPage' that is compatible with 'Microsoft.AspNet.WebApi.WebHost 5.0.0-alpha-130319'.