build number

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

How does the build number works?

right now my assembly is version
1.0.1235.33799

it doesn't change when i re-compiled it.

Thanks.
 
1235 days since January 1, 2000
(33799 *2) seconds since midnight (though daylight saving time/ standard
time do seem to create havoc by creating a one hour offset).

Chris A.R.
 
The version number is determined by settings in the AssemblyInfo (.vb or
..cs) file in the project.

===
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision
Numbers
' by using the '*' as shown below:

<Assembly: AssemblyVersion("1.0.*")>
===

If you let the build and/or revision numbers be autogenerated (by using the
'*') then the formulas that Chris mentioned are used.

Build = number of days since Jan 1, 2000.
Revision = number of seconds since midnight divided by 2
 
Is there a way to find out the timestamp if I set the
build and/or revision numbers.

Thanks in advance
Alice
-----Original Message-----
The version number is determined by settings in the AssemblyInfo (.vb or
..cs) file in the project.

===
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision
Numbers
' by using the '*' as shown below:

<Assembly: AssemblyVersion("1.0.*")>
===

If you let the build and/or revision numbers be autogenerated (by using the
'*') then the formulas that Chris mentioned are used.

Build = number of days since Jan 1, 2000.
Revision = number of seconds since midnight divided by 2

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada


Aaron said:
How does the build number works?

right now my assembly is version
1.0.1235.33799

it doesn't change when i re-compiled it.

Thanks.


.
 
Back
Top