|
@@ -683,6 +683,8 @@ namespace TEAMModelOS.Controllers
|
|
//var v2 = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
|
|
//var v2 = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
|
|
// var description = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyDescriptionAttribute>().Description;
|
|
// var description = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyDescriptionAttribute>().Description;
|
|
var version = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
|
|
var version = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>().Version;
|
|
|
|
+ long.TryParse(version.PadRight(12, '0').Replace(".", ""),out long aver);
|
|
|
|
+ long.TryParse(_option.Version.PadRight(12, '0').Replace(".", ""),out long bver );
|
|
long nowtime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
|
long nowtime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
|
//Console.WriteLine($"Assembly.GetEntryAssembly().GetName().Version: " +
|
|
//Console.WriteLine($"Assembly.GetEntryAssembly().GetName().Version: " +
|
|
|
|
|