jkuo
02-13-2006, 06:35 PM
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
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