Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Package Installation Error when create a new MVC solution

$
0
0

Hi,

My colleague upgraded to VS2013 recently, but I am still using VS2012. I got some package version problem, so I upgrade all packages via nuGet package manager. After doing these I got even more problem, one of the error is Newtonsoft.Json package version error. Finally I deleted all the entries that have Newtonsoft.Json value in the regedit. then I removed the newtonsoft.json from my solution via nuGet and some related packages as well, then reinstall these packages, these steps fixed my problem.  Now the version of newtonsoft.json has been upgraded to 6.0.0.0.

Today I tried to create a new MVC solution, after I select a template and click OK, I got the following error:

Could notadd required packages to the project. The following packages failed to install from 'C:\Program Files(x86)\Microsoft ASP.Net\ASP.Net MVC 4\Packages':

Newtonsoft.Json.4.5.11: Unable to find version '4.5.11' of package 'Newtonsoft.json'.

So VS 2012 is still using old version newtonsoft, how can I fix it?

Thank you.


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>