Restart a dll Build Number and Revision

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
 
C

Curt_C [MVP]

are you using the auto-numbering?
Just take out the * and specify your own manually.
 
M

Matt Berther

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
 
P

Pietro

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top