Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Version number

Status
Not open for further replies.

amberlynn

Programmer
Dec 18, 2003
502
0
0
CA
How can I have a label display the version number of my deployment?
If I use environment.version.tostring I don't get the same number that I have set as my version number in my deployment project properties...

TIA!
Amber
 
Take a look at the System.Version class. It has members Major, Minor, Revision that you are probably looking for.
 
The deployment version is different from the application version. You will have to set them seperatly. And I don't think you can get the version from the deployement in your app.

Christiaan Baes
Belgium

"My new site" - Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top