问题
I am setting assembly version for my dot net dll
Assmebly version has below format,
"major version.minor version.build number.revision"
I am setting Verison like below,
200.1.1.0;
Now my question is do I need to keep a leading zero in minor version,build number and revision number (200.01.01.00)
Or without leading zero (200.1.1.0).
Which is right practice? Is there any Microsoft guideline available ? I didn't find any guidelines by Googling.
回答1:
The versions are stored internally as integers, so even if you append 0 to the start of the version number, it will be converted to an int and removed.
回答2:
Both the way you can use
(200.01.01.00) or (200.1.1.0)
来源:https://stackoverflow.com/questions/21701632/is-it-appropriate-to-use-leading-zero-in-c-sharp-assembly-version