Here is the help file I am using. It states that it still applies to version 4.6.
Yet, when I try to use the built-in calculations, with the following code:
[assembly: AssemblyVersion("2015.7.*.*")]
[assembly: AssemblyFileVersion("2015.7.*.*")]
I get syntax errors on the asterisk, and the solution won't compile. I am not sure what is going on. According to the help file, it should be working.
You don't need two * just one is enough.
[assembly: AssemblyVersion("2015.7.*")]
From your link
Examples of valid version strings include:
1
1.1
1.1.*
1.1.1
1.1.1.*
1.1.1.1
Remove the AssemblyFileVersion.
If the AssemblyFileVersionAttribute is not supplied, the AssemblyVersionAttribute is used for the Win32 file version that is displayed on the Version tab of the Windows file properties dialog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With