Restart a dll Build Number and Revision

  • Thread starter Thread starter Pietro
  • Start date Start date
P

Pietro

Thanks for the last answer, but now how can i restart the count of the
Build and Revision numbers of a dll in VS.Net.

Thanks
Pietro
 
are you using the auto-numbering?
Just take out the * and specify your own manually.
 
Hello Pietro,

In short, you cant. When you use autonumbering, the following is assumed [1]:

If you specify major and minor, you can specify an asterisk (*)for build.
This causes build to be equal to the number of days since January 1, 2000,
local time, and revision to be equal to the number of seconds since midnight,
January 1, 2000, local time, divided by 2.

If you specify major, minor, and build, you can specify an asterisk for revision.
This causes revision to be equal to the number of seconds since midnight,
January 1, 2000, local time, divided by 2.

Given that, if you want to use auto numbering, your revision (and maybe even
your build) numbers will be based January 1, 2000.

[1] http://msdn.microsoft.com/library/d.../html/cpgrfassemblygenerationutilityalexe.asp
 
Thank you, i thought that the build number was how much times i build
the application.

Pietro

Matt said:
Hello Pietro,

In short, you cant. When you use autonumbering, the following is assumed
[1]:

If you specify major and minor, you can specify an asterisk (*)for
build. This causes build to be equal to the number of days since January
1, 2000, local time, and revision to be equal to the number of seconds
since midnight, January 1, 2000, local time, divided by 2.

If you specify major, minor, and build, you can specify an asterisk for
revision. This causes revision to be equal to the number of seconds
since midnight, January 1, 2000, local time, divided by 2.

Given that, if you want to use auto numbering, your revision (and maybe
even your build) numbers will be based January 1, 2000.

[1]
http://msdn.microsoft.com/library/d.../html/cpgrfassemblygenerationutilityalexe.asp


--
Matt Berther
http://www.mattberther.com
I want to continue using the auto-numbering, but starting from zero.
 
Back
Top