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)

yinghualeihenmei / 2023-05-19 / 原文

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

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

保持两边一致。