I am trying to install RavenDB.Embedded in an ASP.NET MVC 5 application, but I have this dependency error:
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
Have I any other options than to install it manually?
This is caused by NuGet 2.8's new features. Do this instead:
Install-Package RavenDB.Embedded -DependencyVersion Highest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With