自动生成程序版本号
//1.工程文件
<Deterministic>False</Deterministic>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
//2.AssemblyInfo.cs
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.*")]
//3. var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
version = {1.0.8936.20850}
8936 当前日期距离2000-01-01 天数
20850 当前时间距离当日00:00:00 秒数
努力到无能为力,拼搏到感动自己