c# - Umbraco从7.2.8升级到7.3.0破坏了网站

标签 c# asp.net-mvc azure umbraco7

我正在尝试将 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>

enter image description here

非常感谢对此的任何帮助。

最佳答案

我在升级 umbraco 版本时按照以下步骤解决了这个问题

  1. 更新 umbraco 包

    Update-Package UmbracoCms -Version 7.3.0

  2. 从 1.8.0 升级 Window Azure 包并尝试运行该项目

    Microsoft.WindowsAzure.ConfigurationManager - 2.0.1

  3. 运行项目后,umbraco 将自动进行配置更改。升级成功后网站运行成功

关于c# - Umbraco从7.2.8升级到7.3.0破坏了网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41465154/

相关文章:

c# - 这在技术上是 "Hello World"的 O(1) 算法吗?

asp.net-mvc - 关注点分离、业务逻辑与表示逻辑

javascript - 如何在 kendo UI MVC 网格中选择单个单元格来获取行数据?

javascript - 通过 javascript 中的 xhr 请求上传到 azure blob 是否安全

c# - .net core azure WebJob 3.0.3 UseTimers 丢失

c# - ASP.NET Core API 如何在操作方法中将 ActionResult<T> 转换为 T

c# - c# 中的 List<T> 和 List(Of T) 有什么区别

c# - 将配置值作为参数传递给实例方法 C#

asp.net-mvc - 在 ASP.NET MVC5 中,如何获取移动用户请求的平台和设备类型

azure - 确保在 Azure Data Lake Store 帐户中正确配置 ACL 和防火墙规则