The syntax (see MSDN ) for the "automatic" build number can be:
[assembly: AssemblyVersion("1.0.0.*")]
or
[assembly: AssemblyVersion("1.0.*")]
* means that after that everything is automatic. You cannot have an automatic build number and a fixed version number, then this syntax is incorrect:
[assembly: AssemblyVersion("1.0.*.0")]
For AssemblyFileVersionAttribute you cannot use the special * character, so you need to provide a full and valid version number. Please note: if you do not provide AssemblyFileVersionAttribute , you will automatically receive FileVersionInfo (with the same version of AssemblyVersionAttribute ). You should specify this attribute only if you need to install a different version.
Adriano Repetti Apr 19 2018-12-12T00: 00Z
source share