安装包更改了我的web.config依赖程序集

时间:2014-02-25 21:35:56

标签: asp.net nuget-package

在我的项目上安装Microsoft.AspNet.Web.Optimization之后。它在我的web.config上更改了一些版本。

我想知道这是不是一个错误?

<dependentAssembly>
    <assemblyIdentity name="EPiServer.BaseLibrary" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer.Blog" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer.Cms.Shell.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>

文件由nuget instalation更改:

<dependentAssembly>
    <assemblyIdentity name="EPiServer.BaseLibrary" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-6.0.530.0" newVersion="6.0.530.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer.Blog" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer.Cms.Shell.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-6.0.530.0" newVersion="6.0.530.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="EPiServer" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-6.0.530.0" newVersion="6.0.530.0" />
  </dependentAssembly>

1 个答案:

答案 0 :(得分:0)

这是一些框架更新以保持后向兼容性的方式。其他的发布转换工具(即DevExpress)。只做备份并检查你的项目编译是否正常。