Duplicate AssemblyVersion Attribute

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

    My error was that I was also referencing another file in my project, which was also containing a value for the attribute "AssemblyVersion". I removed that attribute from one of the file and it is now working properly.

    The key is to make sure that this value is not declared more than once in any file in your project.

提交回复
热议问题