C#项目运行报错:Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies

问题描述:

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

解决:

逐一检查解决方案中每个项目中引用的 “Newtonsoft.Json”版本和路径, 确保每个应用程序集引用的 ”Newtonsoft.Json.dll“ 文件都是同一个路径。

 

posted @ 2021-03-11 17:45  Journey&Flower  阅读(1344)  评论(0)    收藏  举报