这是我正在使用的
help file.它声明它仍适用于4.6版.
然而,当我尝试使用内置计算时,使用以下代码:
[assembly: AssemblyVersion("2015.7.*.*")] [assembly: AssemblyFileVersion("2015.7.*.*")]
解决方法
你不需要两个*只需一个即可.
[assembly: AssemblyVersion("2015.7.*")]
从你的链接
Examples of valid version strings include:
1
1.1
1.1.*
1.1.1
1.1.1.*
1.1.1.1
删除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.