Welcome to MSDN Blogs Sign in | Join | Help

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.

Published Sunday, April 25, 2004 4:40 AM by omars
Filed under:

Comments

# re: AssemblyVersion build and revision number

Saturday, April 24, 2004 11:08 PM by Ryan Gregg
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.

# re: AssemblyVersion build and revision number

Saturday, April 24, 2004 11:11 PM by Omar Shahine
Hmmm, I was just quotting the person who made the google post. it's good to know it's not so random.

# re: AssemblyVersion build and revision number

Sunday, April 25, 2004 12:32 AM by Duncan Mackenzie

# re: AssemblyVersion build and revision number

Sunday, April 25, 2004 7:19 AM by Darron

# Omar Shahine s WebLog AssemblyVersion build and revision number | debt consolidator

New Comments to this post are disabled
 
Page view tracker