Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] User Tips, Tricks and Samples (http://www.kinook.com/Forum/forumdisplay.php?f=19)
-   -   Setting 'Major' and 'Minor' VS2005 version assembly fields only (http://www.kinook.com/Forum/showthread.php?t=1415)

mweinberger 12-27-2005 11:04 AM

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.

Martin

mweinberger 12-27-2005 03: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:


8
0
8
0


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

Cool!

The path for all that are interested is:

http://www.gotdotnet.com/codegallery...9-16107919f93e

I hope this helps.

Martin A. Weinberger
Butterflyvista
http://www.butterflyvista.com/


All times are GMT -5. The time now is 05:41 PM.


Copyright 1999-2019 Kinook Software, Inc.