I'm trying an ASP.NET MVC4 Web API project. I'm trying to install the ravendb client through nuget. This is the error:
Attempting to resolve dependency 'NLog (= 2.0.0.2000)'.
Successfully installed 'Newtonsoft.Json 4.0.8'.
Successfully installed 'NLog 2.0.0.2000'.
Successfully installed 'RavenDB.Client 1.0.960'.
Install failed. Rolling back...
Updating 'Newtonsoft.Json 4.5.1' 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'.
So I can see that Microsoft ASP.NET Web API Client Libraries (I think this is what I have installed: http://nuget.org/packages/Microsoft.AspNet.WebApi.Client) has a dependency on Newtonsoft.Json (≥ 4.5.1)
And this says the ravendb client install requires (= 4.0.8) http://nuget.org/packages/RavenDB.Client/1.0.960
So I've looked and this question is very similar: Nuget package dependencies. Does it work the way it should? but this is a bit older and looks like the problem there is different- here Raven does actually seem to need Newtonsoft.Json 4.0.8
So my question is, is this possible? Is there some way (maybe from the command line/ through the console) that I can get these 2 things installed side by side. How can I get Microsoft.AspNet.WebApi.Client to play nicely with Newtonsoft.Json?
EDIT: This problem and solution are obsolete. There have been four stable RavenDB builds since this question was posted. The latest stable build will in fact fix this issue, and one should not experiment with an unstable build simply to fix this problem.