Rom*_*Ukr 5 runtime azure visual-studio asp.net-mvc-4
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)
Run Code Online (Sandbox Code Playgroud)
我怎么能解决这个问题?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].
Run Code Online (Sandbox Code Playgroud)
从堆栈跟踪:
[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)]
Run Code Online (Sandbox Code Playgroud)
这是我在Azure中的第一个项目.我不知道该怎么做.谢谢您的考虑!
UPD:看起来好像我的项目中有错误.例如在错误中:"NuGet.Core,Version = 1.6"在我的程序中,它是版本= 2.6,在"packages.config"中是相同的2.6版本.我在哪里可以更改此错误?
这看起来不像是 Azure 问题,而更像是 Visual Studio 问题。如果您有引用 NuGet 的项目,请将其删除。NuGet 应该集成到 VS 中,而不是集成到您的项目中。然后更新您的 NuGet 版本。
在 Visual Studio 2012 中:
工具 -> 库包管理器 -> 包管理器设置 -> 包管理器 -> 包源,然后单击更新。
| 归档时间: |
|
| 查看次数: |
1923 次 |
| 最近记录: |