0

In my solution there is SharedAssemblyInfo.cs that is integrated over a targets file (LinkedItems.targets).

linkitems.targets

linkitems.targets.file

In the SharedAssemblyInfo.cs there is a Version attribute set:

SharedAssembyInfo

I have some projects that have to define their own version. But this not possible in this case because then i get a duplicate "AssemblyVersion" Attribute error.

duplicate assemblyversion attribute.

Is there any way to resolve this issue besides defining the version in every single AssemblyInfo file and not in the SharedAssemblyInfo file?

frugi
  • 605
  • 7
  • 26

1 Answers1

0

I found a solution to my problem. You can edit the ".targets" file that you use in your project file (you have to unload your project first).

enter image description here

frugi
  • 605
  • 7
  • 26