I have a project that generates following error on compilation:
error CS0579: Duplicate \'AssemblyVersion\' attribute
I have che
In my case, some temporary *.cs files generated during compilation got accidentally added to the project.
The files were from the obj\Debug directory, so they definitely shouldn't have been added to the solution. A *.cs wildcard went a little crazy and added them incorrectly.
Deleting these files fixed the problem.