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>