473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Assembly Build Date/Time

This topic has been discussed a few times. It looks to me that one of
the easiest ways to determine this is by deconstructing the Assembly
Version's Build and Revision numbers. A previous thread indicated the
Build is the number of days since January, 2000. Based on my
experimentation, it is actually the number of days since January 1,
2000, not counting January 1, 2000. So, today, June 24, 2004 yields a
Build number of 1636.

But I am a little confused with the Revision. That same thread said
the Revision is the number of seconds since midnight divided by 2. But
according to my expermentation, it is off by one hour. It looks like
the facility that generated this Revision number is not daylight time
aware. Is this the case or is something else coming into play?

Also, the Assembly Version does not increment each time the
application is built. What changes to the application causes the
version number to increment?

TIA for any and all responses. Please respond here, as email is
invalid to avoid spam.
Nov 20 '05 #1
1 2628
In article <db*************************@posting.google.com> ,
zc********@visionair.com says...
It looks to me that one of
the easiest ways to determine this is by deconstructing the Assembly
Version's Build and Revision numbers.


That only works if you use Visual Studio.NET and let it pick the version
for you by defining the attribute with a "1.0.*" value.

When I start a new project, that's the first thing I change -- I get rid
of the '*' and define my own build number (usually 1.0.0.0). I really
should update my templates to be 1.0.0.0.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Marian | last post by:
Hi, I am totaly novice in .NET and I am studying a book about this. There was mentioned "assembly". I did not understand, how function does it has . I would like to know the exact run of code...
2
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
4
by: EdB | last post by:
I want to use the Assembly information to display version/build information and I have some questions. I'm able to get the FileMajorPart, FileMinorPart, & FileBuildPart. I am not able to get to...
2
by: Sky Sigal | last post by:
Hello: Been looking at the specs for the WebResources attribute in Net framework 2.0 and looking to emulate it in 1.1 One of the parts needed extracts the build time of the assembly... But I...
5
by: mekim | last post by:
Hello....I am trying to System.Reflection.Assembly.GetExecutingAssembly ().GetName ().Version.ToString () ; to display the version of the app...but it remains static and therefore does not...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
2
by: Dylan Parry | last post by:
Hi, Is there a way of getting the date that an assembly was last compiled? I am trying to help myself to remember what version of a particular assembly my Web applications are using, so I've...
6
by: Gavin Sullivan | last post by:
I've been using the date (in YMMDD) format for the build number in the AssemblyVersion attribute. However, it appears that numbers 65534 are invalid!! Bit of a bummer for 2007!!! Is there a...
2
by: Pieter | last post by:
Hi, How can I knwo the BuildDate from an application distributed by ClickOnce? When I use "System.IO.File.GetLastWriteTime(objAssembly.Location)" or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.