Could not load file or assembly 'NuGet.Core, Version=1.6.30117.9648, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's
manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
我该如何解决这个问题?And.Next 文本错误:
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value..[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
从堆栈跟踪:
[FileLoadException: Could not load file or assembly 'NuGet.Core,
Version=1.6.30117.9648, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of
its dependencies. The located assembly's manifest definition does not match the
assembly reference. (Exception from HRESULT: 0x80131040)]
这是我在 Azure 中的第一个项目。我不知道该怎么做。谢谢您的考虑!
UPD:似乎我的项目中存在错误。例如,在错误中:“NuGet.Core,Version=1.6”在我的程序参考中是 Version=2.6,而在“packages.config”中是相同的 2.6 版本。我在哪里可以更改此错误?