How to get the publish version [Major,Minor,Built,Revision]

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span> 
I`d like to now how to get the publish version that apears in the project properties.
 
I have tried the following code:
  <font color="#0000ff
this</font>.label2.Text = <font color="#008080 Application</font>.ProductVersion.ToString();
but it appears to get a different version, it gets the version of the dlls (1.0.2753.27079) and i want the 1.0.0.4 version of project properties.
 
Can anyone help?

View the full article
 
Back
Top