View Single Post
  #1  
Old 02-13-2006, 05:35 PM
jkuo jkuo is online now
Registered User
 
Join Date: 08-23-2004
Posts: 4
.NET solution version stamp

We want our .NET projects to increment their file/product version with each build but the assembly version to stay static throughout the release. So in our build projects, in the Versions tab in the .NET build step, the "Update Assembly version" is unchecked and the file/product versions are set to our dynamic build number.

VBP adds the AssemblyFileVersionAttribute to assemblyinfo.cs for every project in the solution during build. A developer argued that solutioninfo.cs should be the right place for it since there are many projects in a solution and they all carry the same version. What exactly is the right place for this information? Is there anyway we can have it in both places? (currently VBP errs out if it appears in solutioninfo.cs).

Thanks.


Jessie
Reply With Quote