Getting Version attribute for displaying in the Application About Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have entered the assembly version in the attribute AssemblyVersionAttribute of the AssemblyInfo.cs file

At runtime, I want to use the attribute AssemblyVersionAttribute to display the version of the assembly that I am executing

How is this possible

Can anybody please send a small code snippet or hyperlink

Thanks in advance

Regards
Vipul Pate
 
Assembly.GetExecutingAssembly().GetName().Version.Major | Minor | Revision |
Build

Then just format them into a string as required.

--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Vipul Patel said:
Hi,

I have entered the assembly version in the attribute
AssemblyVersionAttribute of the AssemblyInfo.cs file.
At runtime, I want to use the attribute AssemblyVersionAttribute to
display the version of the assembly that I am executing.
 

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

Back
Top