今天编译程序遇到global::System.Runtime.Versioning.TargetFrameworkAttribute 特性重复错误。
原因是编译时生成的.NETFramework,Version=v4.6.1.AssemblyAttributes.cs文件中TargetFrameworkAttribute与项目属性AssemblyInfo.cs中assembly: TargetFramework属性重复。
注释掉,问题解决