升级json.net版本时候报的错误
只需要解决.net和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-11.0.0.0" newVersion="11.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime>
11.0对应的是dll版本号
原文地址:https://www.cnblogs.com/CallmeYhz/p/9212505.html
时间: 2024-10-28 17:22:11