Automatic version incrementing

  • Thread starter Thread starter Elmo Watson
  • Start date Start date
E

Elmo Watson

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?
 
Use asterisks * in the build number for the AssemblyVersion attribute.

Ex: [assembly: AssemblyVersion("1.0.0.*")]
 
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')




Bryan Phillips said:
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



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?
 
anyone have any input on this?


Elmo Watson said:
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')




Bryan Phillips said:
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



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?
 
Back
Top