PDA

View Full Version : How to set NET application version?


David Hoffer
07-05-2005, 02:43 PM
Using the VS.NET Action I want to set the assembly version, which I can do using the Version tab and choosing to set the specific version before building the solution.

However, this sets the version on ALL the projects in the solution, I only want to set it on the EXE asssembly not its DLL assemblies.

How can I do this?

-dh

kinook
07-05-2005, 03:00 PM
Set your 'build' Make VS.NET step to not set or increment versions, and add another Make VS.NET step before it, specifying the EXE project filename (or its AssemblyInfo.cs filename) and configure that step to not build and set the version as desired.

David Hoffer
07-05-2005, 03:15 PM
Perfect! That did the job nicely.