468,140 Members | 1,431 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

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 2304
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by EdB | last post: by
5 posts views Thread by mekim | last post: by
10 posts views Thread by jojobar | last post: by
2 posts views Thread by Dylan Parry | last post: by
6 posts views Thread by Gavin Sullivan | last post: by
2 posts views Thread by Pieter | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.