Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies

后端 未结 17 2410
渐次进展
渐次进展 2020-12-03 00:43

I have a WinJS project that is previously built on Windows 8.1 using VS 2013.

Recently I upgraded this project to Universal Windows 10 by creating a blank Javascrip

17条回答
  •  生来不讨喜
    2020-12-03 01:42

    I had same issue with the following version 12.0.3:

    Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
    

    This issue was only in my Test project (xUnit) and was caused by lack of newtonsoft.json in this project.

    What is important, I was testing code from another project where library was attached and works properly.

提交回复
热议问题