我正在尝试将 umbraco 从 7.2.8 升级到 7.3.0,更新后出现以下错误:
Could not load file or assembly 'Microsoft.WindowsAzure.Configuration, Version=2.0.0.0, 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)
我尝试升级“Microsoft.WindowsAzure.Configuration”,但也没有帮助。
<dependentAssembly>
<assemblyIdentity name="Microsoft.WindowsAzure.Configuration" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
</dependentAssembly>
非常感谢对此的任何帮助。
最佳答案
我在升级 umbraco 版本时按照以下步骤解决了这个问题
更新 umbraco 包
Update-Package UmbracoCms -Version 7.3.0
从 1.8.0 升级 Window Azure 包并尝试运行该项目
Microsoft.WindowsAzure.ConfigurationManager - 2.0.1
运行项目后,umbraco 将自动进行配置更改。升级成功后网站运行成功
关于c# - Umbraco从7.2.8升级到7.3.0破坏了网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41465154/