Duplicate AssemblyVersion Attribute

前端 未结 21 1597
暖寄归人
暖寄归人 2020-12-02 11:07

I have a project that generates following error on compilation:

error CS0579: Duplicate \'AssemblyVersion\' attribute

I have che

21条回答
  •  借酒劲吻你
    2020-12-02 11:21

    Starting from Visual Studio 2017 another solution to keep using the AssemblyInfo.cs file is to turn off automatic assembly info generation like this:

    
      
        false
      
    
    

    I personally find it very useful for projects which need to support both .NET Framework and .NET Standard.

提交回复
热议问题