Version Numbering - auto increment

  • Thread starter Thread starter Klaus Jensen
  • Start date Start date
K

Klaus Jensen

Hi!

In VB6 I could set an option, so that when the app was built, the version
number (minor) would autoincrement. It was also possible to access version
information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it.
And how can I access this information via code, if possible?

Thanks in advance!

Klaus
 
Look in your AssemblyInfo.vb file, in which case at the bottom you'll see
versioning..

Remember .NET builds in a 4 part version rather than VB6's 3.

So you have
Major.Minor.Revision.Build

to get autoincrement.. you just use a wildcard.

i.e. 1.5.*.*

-CJ
 
It would interesting to find out how to access the current version via code.
Is that possible?
I have been trying to figure out how to Auto Increment the version myself.

Steve
 
Klaus,

* "Klaus Jensen said:
In VB6 I could set an option, so that when the app was built, the version
number (minor) would autoincrement. It was also possible to access version
information via code to display in a splash-screen or similar.

I have searched for this option in Visual Studio, but have yet to find it.
And how can I access this information via code, if possible?

<http://groups.google.de/[email protected]>
 
Application.ProductVersion



Steve said:
It would interesting to find out how to access the current version via code.
Is that possible?
I have been trying to figure out how to Auto Increment the version myself.

Steve
 
Back
Top