I updated json.net in all projects in my solution and after I get this error:
The type 'Newtonsoft.Json.JsonConvert' exists in both '\packages\Newtonsoft.Json.6.0.1\lib\net45\Newtonsoft.Json.dll' and 'c:\Program Files (x86)\Microsoft Visual Studio 12.0\Blend\Newtonsoft.Json.dll
Why is it trying to load json.net from the Blend folder and how do I get around this issue?
Thanks.
In my case, the problem was that there were two references to two different versions of Newtonsoft.Json.dll in my project. This wasn't apparent by looking at the references in the Solution tree view: you have to examine the csproj file.
To fix this:
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