Newtonsoft.Json Assembly Conflict

前端 未结 5 930
盖世英雄少女心
盖世英雄少女心 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 05:58

    I faced the same problem, I have installed Newtonsoft.Json v9.0.1 , sandcastle stops the build displaying the same error but with version difference: "Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0,"

    what worked: find/create a project with newtonsoft.json with the version SandCastle is asking for, add the file "Newtonsoft.Json.dll" as a reference to the SC project then build. (you can find the dll in the bin folder of the project)

提交回复
热议问题