所以我试图将 RavenDB.Client 安装到一个新的 Asp.Net Mvc 4.0 项目中并得到以下错误。
PM> Install-Package RavenDB.Client -Version 1.0.980
Attempting to resolve dependency 'Newtonsoft.Json (= 4.0.8)'.
Attempting to resolve dependency 'NLog (= 2.0.0.2000)'.
Successfully installed 'Newtonsoft.Json 4.0.8'.
Successfully installed 'NLog 2.0.0.2000'.
You are downloading RavenDB.Client from Hibernating Rhinos, the license agreement to which is available at http://www.ravendb.net/licensing. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'RavenDB.Client 1.0.980'.
Install failed. Rolling back...
Install-Package : Updating 'Newtonsoft.Json 4.5.6' to 'Newtonsoft.Json 4.0.8' failed. Unable to find a version of 'Microsoft.AspNet.WebApi.Client' that is compatible with 'Newtonsoft.Json 4.0.8'.
At line:1 char:1
+ Install-Package RavenDB.Client -Version 1.0.980
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
不幸的是,Microsoft.AspNet.WebApi.Client 是我实际需要使用的默认安装的一连串东西之一。我在这里有什么选择?