Jump to content
Sign in to follow this  

Can I Get A Build's Version Number Programmatically?

Recommended Posts

Greetings, all.

I want to be able to display the version number of a built executable in an about box. Is there any way to programmatically get this information?


Share this post

Link to post
Share on other sites

Thanks for the upload. I went ahead and set up a build, modified your example to grab everything from the Verison info node, and pushed it into a cluster...

I must say that I had been doing this exact same thing the other day, but it was not returning the same strings I see here. Unless I was smoking crack.


Actually, it looks like "Fix" and "Build" map to ProductBuildPart and ProductPrivatePart respectively; which may have given me trouble


Thank you!




Share this post

Link to post
Share on other sites

QUOTE (ACS @ May 8 2009, 06:04 PM)

I'll give this a try; thanks!

Just for let you know that user .net (using system.dll). So, this will not work under Linux or Mac.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.