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.
 
Back
Top