依赖性 – 安装RavenDb Embedded的Nuget依赖性错误

前端之家收集整理的这篇文章主要介绍了依赖性 – 安装RavenDb Embedded的Nuget依赖性错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图安装RavenDB.Embedded在ASP.NET MVC 5应用程序,但我有这个依赖性错误
PM> Install-Package RavenDB.Embedded
Attempting to resolve dependency 'RavenDB.Database (= 2.5.2750)'.
Attempting to resolve dependency 'System.Spatial (≥ 5.2)'.
Attempting to resolve dependency 'WindowsAzure.Storage (≥ 2.0)'.
Attempting to resolve dependency 'Microsoft.WindowsAzure.ConfigurationManager (≥ 1.7.0.0)'.
Attempting to resolve dependency 'Microsoft.Data.OData (≥ 5.0.2)'.
Attempting to resolve dependency 'Microsoft.Data.Edm (= 5.0.2)'.
Attempting to resolve dependency 'System.Spatial (= 5.0.2)'.
Install-Package : Updating 'System.Spatial 5.2.0' to 'System.Spatial 5.0.2' Failed. Unable to find a version of 'RavenDB.Database' that is compatible with 'System.Spatial 5.0.2'.
At line:1 char:1
+ Install-Package RavenDB.Embedded
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package],InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

有我任何其他选择,而不是手动安装?

解决方法

这是由 NuGet 2.8’s new features引起的。这样做:
Install-Package RavenDB.Embedded -DependencyVersion Highest
原文链接:https://www.f2er.com/aspnet/254268.html

猜你在找的asp.Net相关文章