I have a webpart for SharePoint 2010 written on ASP.Net and I need to use JSON.Net. So I Nugeted Json.NET version 4.5.9. Then problem happens:
Could not load file or assembly ‘Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. Couldn’t locate file.
What should I do?
I had same kind of problem once.
Don’t use earlier references.
If you have any, remove them and add Json.Net once again using Nuget.
It solved for me.