Ask Your Question
3

How can one avoid having multiple instances of the attribute 'System.Reflection.AssemblyInformationalVersionAttribute'?

asked 2022-03-30 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-01-31 02:00:00 +0000

bukephalos gravatar image

One can avoid having multiple instances of the attribute 'System.Reflection.AssemblyInformationalVersionAttribute' by ensuring that the attribute is only included once in the AssemblyInfo.cs file for their project. If there are multiple files with this attribute, they should be consolidated into one file and the attribute should be removed from the others. Additionally, it's important to check for any NuGet packages or third-party libraries that may be adding the attribute and ensure that they are not conflicting with any other instances of the same attribute in the project.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-03-30 11:00:00 +0000

Seen: 15 times

Last updated: Jan 31 '22