Deployment project properties - Version

E

evan

Hi,

Does anyone know how to access (at runtime) the "Version" parameter of
the
deployment project?

I need to be able to display the "Version" of the deployment project in
an 'About' box.

/evan
 
E

evan

Thanks Cor, but "System.Windows.Forms.Application.ProductVersion" shows
the Version of the Form.... I need to show the Version of the
deployment project.

/evan
 
C

Cor Ligthert [MVP]

Evan,

The form has not form, I tested it and saw the application, I will look to
it today more

However this is the other way.
\\\
MessageBox.Show( _
System.Reflection.Assembly.GetExecutingAssembly( _
).GetName().Version.ToString())
///

I hope this helps,

Cor
 
C

Cor Ligthert [MVP]

Typo

In my opinion the form has no version number etc.......................

Cor
 

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