all groups > dotnet windows forms > march 2007 >
You're in the

dotnet windows forms

group:

Automatic version incrementing


Automatic version incrementing Elmo Watson
3/13/2007 8:18:24 PM
dotnet windows forms:
in VB6, I could set my applications, so that, with every build, it would
increment the version number.
However, I can't find that capability in VS.Net 2005....I can find it if I
publish the applicatioin, but I don't have any need for my users running the
application from my website - I want it only installed locally on the users'
machines.

How can I automatically increment the version # with each Build?

Re: Automatic version incrementing Bryan Phillips
3/14/2007 1:49:52 AM
Use asterisks * in the build number for the AssemblyVersion attribute.

Ex: [assembly: AssemblyVersion("1.0.0.*")]

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com



[quoted text, click to view]
Re: Automatic version incrementing Elmo Watson
6/9/2007 1:55:18 PM
So far, this has only made the last number change - and it's not totally
logical - it will go from 1.0.0.2700 something to 1.0.0.32-- , to 1.0.0.44--
and then back to 1.0.0.22--
First - how is the build section supposed to work?
Also - it won't accept an asterisk in any of the other boxes, so how it is
supposed to really increment?

(I'm entering this stuff in the Assembly information area of 'MyProject')




[quoted text, click to view]

Re: Automatic version incrementing Elmo Watson
6/19/2007 11:18:32 AM
anyone have any input on this?


[quoted text, click to view]

AddThis Social Bookmark Button