Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

网上查了多个都与Newtonsoft.Json的版本有关系。

将vs的nuget里Newtonsoft.Json的版本更新成项目里的版本就可以了。

保持两边一致。

posted @ 2023-05-19 10:39  yinghualeihenmei  阅读(117)  评论(0编辑  收藏  举报