0

我正在使用 NuGet 包(IdentityModel.OidcClient 3.1.2),这会引发错误

Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

bin文件夹中的版本是Newtonsoft.Json.dll v11.0.2.xx

所以我可能需要底层包 Newtonsoft.Json.dll 的绑定重定向,但我在哪里放置重定向?试过AutoGenerateBindingRedirects=true但没有解决它。

4

0 回答 0