Automatic version incrementing

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?
 
B

Bryan Phillips

Use asterisks * in the build number for the AssemblyVersion attribute.

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

Elmo Watson

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?
 
E

Elmo Watson

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top