Say I have a version number 1.5.* that is compiled as 1.5.4735.28467.
What is the formula for getting 4735 and 28467?
Say I have a version number 1.5.* that is compiled as 1.5.4735.28467.
What is the formula for getting 4735 and 28467?
Copyright © 2021 Jogjafile Inc.
Please note: there are alternative tools/rules/schemes/macros/add-ins/etc to control versioning in a different manner; if used they obviously obliterate the following.
However, this is how a
"*"
version is calculated to.build.revision
in a vanilla Visual Studio / .NET build process:See Coding Horror: Determining Build Date the hard way and MSDN: AssemblyVersionAttribute. This default expansion behavior is documented in the AssemblyVersionAttribute class (BCL!)
and not special VS compiler behavior(see Daniel's comment) and not exclusively compiler behavior.Here is one implementation of the formula (as extracted from Daniel's comment):