Newtonsoft.Json Assembly Conflict

前端 未结 5 931
盖世英雄少女心
盖世英雄少女心 2020-12-01 05:38

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         


        
5条回答
  •  执念已碎
    2020-12-01 06:10

    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:

    
        
        
    
    

提交回复
热议问题