Kinook Software Forums

Kinook Software Forums (
-   [VBP] User Tips, Tricks and Samples (
-   -   Setting 'Major' and 'Minor' VS2005 version assembly fields only (

mweinberger 12-27-2005 12:04 PM

Setting 'Major' and 'Minor' VS2005 version assembly fields only
Is it possible to update the 'major' and 'minor' (the first two) version fields only but leave the last two (build number and revision) alone? I already have my VS2005 project set up in such a way that the project itself updates the last two fields automatically at build time.

I'd like a way to set using Visual Build Professional the first two fields to the major and minor values as set by the projecct macro values that I have set.

Thank you very much and a pre Happy New Year.


mweinberger 12-27-2005 04:14 PM

Found it!
Microsoft created an AssemblyInfoTask add-on that allows for the automatic increment of the build and revision numbers. It also allows for the manual setting of the major and minor version numbers in the project file. I just didn't realize to add:


the portion. The solution is to "update" this file at that section to set the appropriate major and minor version numbers.


The path for all that are interested is:

I hope this helps.

Martin A. Weinberger

All times are GMT -5. The time now is 03:53 PM.

Copyright 1999-2022 Kinook Software, Inc.