View Single Post
  #1  
Old 02-03-2005, 02:53 PM
dprice dprice is online now
Registered User
 
Join Date: 01-19-2005
Posts: 13
Increment Version Doesn't Work for Link Files

We use a shared AssemblyInfo file in our solution for setting common assembly attributes like Assembly Version, Copyright info, etc. When using the option to have VBP increment the assembly version, it adds an assembly version attribute to all of the project AssemblyInfo.cs files in addition to the shared AssemblyInfo file. This causes a compile error since there are duplicate AssemblyVersion attributes set.

See the source code from the Microsoft Enterprise Library to see an example of this:
http://msdn.microsoft.com/library/en...tml/entlib.asp

We ended up using a few extra steps to automate this process, but it would be nice to just use the VS.NET increment option.

Thanks,
Derek
Reply With Quote