Newtonsoft.Json 版本冲突

在<configuration> 最前面添加

 

 

<!--Newtonsoft.Json 版本冲突-->
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

posted @ 2023-03-31 09:42  DJ的魔鬼邂逅  阅读(115)  评论(0)    收藏  举报