2

毎日次のエラーが表示されます。

Exception information: 
Exception type: FileLoadException 
Exception message: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.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)

dllの名前を変更してから名前を元に戻すことで、一時的に修正できます。適切なアセンブリ リダイレクトの Web 構成を確認しました。

<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />

ファイル アセンブリのバージョン番号も確認しましたが、それは 4.5.0.0 です。これは、Newtonsoft.Json パッケージのバージョン 5.0.8 です。

ここに画像の説明を入力

このエラーが毎日発生し続けるのはどうしてですか? 考えられる原因は何ですか?

この問題は現在修正されているようです。ソリューション全体をローカルと Web サーバーで手動でクリーンアップしました。そして、クリーンな展開を行いました。

4

0 に答える 0