[assembly: AssemblyVersion("1.0.1.*")]: How is the * really handled

  • Thread starter Thread starter José Joye
  • Start date Start date
J

José Joye

Does anyone know how the number inserted in place of the * is generated?
It does not seems to be stored in any files (at least not in the one that
are managed by SourceSafe).

José
 
The version number has these parts:

major.minor.build.revision

If you use a * for the build number, it will be given a number equal to the
number of days since January 1st 2000 (based on your local time)

A * for the revision number is equal to the number of seconds since midnight
(today) divided by 2.

These times will be based on the time that your assembly is actually
compiled, and will only be stored in the assembly itself, as they'll be
recreated when you next compile it.
 
Back
Top