1

Resolved

LastChangeVersionLabeller has issues with the way it creates the version

description

Using the date (month and day) is not a decent value for a build number or a revision. Change the last change set to be the build number and use a function similar to msbuild community tasks to calculate the revision.
 
private int CalculateFractionalPartOfDay ( ) {
float factor = ( float ) ( UInt16.MaxValue - 1 ) / ( 24 * 60 * 60 );
return ( int ) ( DateTime.Now.TimeOfDay.TotalSeconds * factor );
}

comments