代码之家  ›  专栏  ›  技术社区  ›  Mike Flynn

考虑应用程序。配置没有应用程序的程序集的重新映射。配置映射

  •  41
  • Mike Flynn  · 技术社区  · 8 年前

    我如何确定在不向app.config添加绑定的情况下修复此引用?

    Consider app.config remapping of assembly "System.Runtime.Serialization.Primitives, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.1.1.0" [] to Version "4.1.2.0" [F:\Production\packages\System.Runtime.Serialization.Primitives.4.3.0\lib\net46\System.Runtime.Serialization.Primitives.dll] to solve conflict and get rid of warning. 12>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file:

    4 回复  |  直到 8 年前
        1
  •  51
  •   Leo Liu    8 年前

    我如何确定在不向app.config添加绑定的情况下修复此引用?

    您可以尝试将“MSBuild项目生成输出详细信息”更改为 “”或更高版本来检查详细错误日志。要执行此操作,请执行以下操作: 工具->选项…->项目和解决方案->构建并运行 MSBuild项目生成输出详细级别

    enter image description here

    然后转到具有旧版本的项目,删除引用,然后添加正确的引用。

        2
  •  10
  •   Matthias Güntert    6 年前

        3
  •  6
  •   balint    6 年前

        4
  •  2
  •   Bill Matsoukas    6 年前

    我在升级Microsoft Identity软件包(通过NuGet)时开始出现错误。部分版本号未在中更新 <runtime>

    推荐文章