C# 发现同一依赖程序集的不同版本间存在冲突。请将项目文件中的“AutoGenerateBindingRedirects”属性设置为 true

C# 发现同一依赖程序集的不同版本间存在冲突。请将项目文件中的"AutoGenerateBindingRedirects"属性设置为 true

Severity Code Description Project File Line Suppression State

Warning Found conflicts between different versions of the same dependent assembly. Please set the "AutoGenerateBindingRedirects" property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190. Qrcoder

打开.csproj 文件,在 PropertyGroup 下加入:

XML 复制代码
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
相关推荐
逆向编程13 分钟前
QGIS地图投影(CRS坐标参照系)设置
开发语言
free-elcmacom20 分钟前
发际线警告!手撕《C陷阱与缺陷》终极 BOSS:signal 函数与 typedef 魔法
c语言·开发语言·visual studio code·visual studio
程序员阿鹏21 分钟前
简单介绍一下软引用
java·开发语言·jvm·数据结构·后端
haluhalu.43 分钟前
初识 Protobuf:微服务跨语言通信的一份契约
java·c语言·开发语言·c++·python
孙启超1 小时前
【AI开发之Rust】第 12 课:并发模型与同步原语
开发语言·后端·rust
敲代码的瓦龙2 小时前
Jetpack?DataBinding!!!
android·java·开发语言·mysql·android-studio
爱奥尼欧2 小时前
【C++】map、set 的底层是什么?红黑树五条性质、插入旋转到模拟实现
开发语言·数据结构·c++
何以解忧唯有撸码2 小时前
【开源】c#造个轮子-日程安排工具
c#·自定义控件