PC Review


Reply
Thread Tools Rate Thread

Assembly Build #

 
 
=?Utf-8?B?SlA=?=
Guest
Posts: n/a
 
      28th Apr 2005
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.
--
JP
..NET Software Developer
 
Reply With Quote
 
 
 
 
Matt Berther
Guest
Posts: n/a
 
      28th Apr 2005
Hello JP,

Assembly.GetExecutingAssembly().GetName().Version

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

--
Matt Berther
http://www.mattberther.com

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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to build assembly =?Utf-8?B?QmVydA==?= Microsoft ASP .NET 1 6th Feb 2007 08:42 AM
assembly build loops? Doug Kent Microsoft Dot NET 5 1st Mar 2006 03:39 PM
is there any way to get to a unique build verion of an assembly at runtime? e.g. a version that is unique to the time that the assembly was built? Daniel Microsoft Dot NET Framework 1 14th Dec 2004 04:10 PM
is there any way to get to a unique build verion of an assembly at runtime? e.g. a version that is unique to the time that the assembly was built? Daniel Microsoft C# .NET 1 10th Dec 2004 03:06 AM
Help! Unable to build assembly! =?Utf-8?B?RGRyYWln?= Microsoft VB .NET 1 4th Oct 2004 07:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 PM.