get the assembly version

  • Thread starter Thread starter Thomas Wegener
  • Start date Start date
T

Thomas Wegener

I'm new in the .net environment.
How can I get the current version, from my own created assembly, [assembly:
AssemblyVersion("6.60.0.10")] ?

Thanks Thomas
 
Hello Thomas,

I think the following line will get you the result:

System::Reflection::Assembly::GetExecutingAssembly()->GetName()->Version->ToString();
 
thanks a lot, it works.
Thomas

Sebastian Dau said:
Hello Thomas,

I think the following line will get you the result:


System::Reflection::Assembly::GetExecutingAssembly()->GetName()->Version->ToString();

Thomas Wegener said:
I'm new in the .net environment.
How can I get the current version, from my own created assembly,
[assembly: AssemblyVersion("6.60.0.10")] ?
 

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