Assembly Build #

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

Guest

I can see in the Assembly.CS file where you cna have .NET auto generated the
version/build number that it tags onto the compiled DLL for a web project.
How do I read the generated build number so that I can display the version
of the web project on my ASPX page?? Im using C# and seaching across the web
hasnt been to productive.
 
Hello JP,

Assembly.GetExecutingAssembly().GetName().Version

More information about the properties of the Version class can be found at
the documentation page for VersionInfo.
 

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