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>
相关推荐
KYGALYX40 分钟前
服务异步通信
开发语言·后端·微服务·ruby
zmzb01031 小时前
C++课后习题训练记录Day98
开发语言·c++
懒人咖1 小时前
缺料分析时携带用料清单的二开字段
c#·金蝶云星空
猫头虎2 小时前
如何排查并解决项目启动时报错Error encountered while processing: java.io.IOException: closed 的问题
java·开发语言·jvm·spring boot·python·开源·maven
YUJIANYUE2 小时前
PHP纹路验证码
开发语言·php
仟濹2 小时前
【Java基础】多态 | 打卡day2
java·开发语言
孞㐑¥2 小时前
算法——BFS
开发语言·c++·经验分享·笔记·算法
Re.不晚2 小时前
JAVA进阶之路——无奖问答挑战2
java·开发语言
bugcome_com2 小时前
深入了解 C# 编程环境及其开发工具
c#
八零后琐话2 小时前
干货:程序员必备性能分析工具——Arthas火焰图
开发语言·python