Can I reset the build number?

  • Thread starter Thread starter Bruce
  • Start date Start date
B

Bruce

I have the following line in my assembly.cpp.

[assembly:AssemblyVersionAttribute("1.0.*")];

The * allows the build number to be automatically included. Is there
any way to reset this build number? If so, how?
 
Bruce said:
I have the following line in my assembly.cpp.

[assembly:AssemblyVersionAttribute("1.0.*")];

The * allows the build number to be automatically included. Is there
any way to reset this build number? If so, how?

No, there is not. The two fields that VS appends automatically are derived
from the date and time. So, in 1.0.xxxx.yyyyy, xxxx is the number of days
since some time in the past (could be the Unix Epoch 1/1/1970, but IIRC it's
another date). yyyyy is the number of seconds since midnight in some
particular time zone. Oddly, when I investigated it, it didn't seem to be
using GMT or the local TZ, but some other, specific TZ.

-cd
 
Carl said:
No, there is not. The two fields that VS appends automatically are derived
from the date and time. So, in 1.0.xxxx.yyyyy, xxxx is the number of days
since some time in the past (could be the Unix Epoch 1/1/1970, but IIRC it's
another date). yyyyy is the number of seconds since midnight in some
particular time zone. Oddly, when I investigated it, it didn't seem to be
using GMT or the local TZ, but some other, specific TZ.

-cd


Thanks,

I was wondering what the number represented. Your explanation makes
some sense out of the number.

Bruce
 
Back
Top