AssemblyVersion build and revision number
The other day I was wondering where the AssemblyVersion build and revision numbers come from if you use the default synax in your AssemblyInfo files:
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Revision
// Build Number
//
// You can specify all the value or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.*")]
Well it turns out that the build number is set to the number of days since a
random, designated start date, and the revision based on the number of
seconds since midnight.
It's interesting that it took 15 or so minutes on google to find this post that has this little nugget.
Comments
- Anonymous
April 24, 2004
I'm not sure Random is a good way of putting it. It is a specified date, by default Jan 1 2000. It can however be changed in the registry to a different date.
I didn't know revision came that way, and that's strange, because the number always seemed so random to me. - Anonymous
April 24, 2004
Hmmm, I was just quotting the person who made the google post. it's good to know it's not so random. - Anonymous
April 24, 2004
More on this at http://weblogs.asp.net/duncanma/archive/2004/04/14/113293.aspx - Anonymous
April 24, 2004
Its also documents here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfassemblygenerationutilityalexe.asp
search for /v[ersion] - Anonymous
June 15, 2009
PingBack from http://mydebtconsolidator.info/story.php?id=8409