Duplicate AssemblyVersion Attribute

前端 未结 21 1595
暖寄归人
暖寄归人 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:29

    I have also run into this issue in the past, so I am going to assume that your build process provides assembly information separately to providing versioning. And that causes a duplication as your project also has that info in the AssemblyInfo.cs file. So remove the file and I think it should work.

提交回复
热议问题