I use Netonsoft.Json in my project. It works fine until I start integrating Paypal SDK in my Project. My code is as below.
String AccessToken =
ne
I ran into the same problem for assembly version 6.0.1. I pasted the following lines into the web.config as directed by Harold:
I then removed the project reference to Newtonsoft.Json and deleted the reference to Newtonsoft.Json in the packages.config file.
I opened the Nuget Manager and reinstalled Newtonsoft.Json.
The install changed the web.config settings to the following and everything worked fine: