SamKr
1/13/2017 - 11:00 AM

Program version

Program version

internal static string Version = $"{Assembly.GetExecutingAssembly().GetName().Version.Major}.{Assembly.GetExecutingAssembly().GetName().Version.Minor}.{Assembly.GetExecutingAssembly().GetName().Version.Build}.{Assembly.GetExecutingAssembly().GetName().Version.Revision}";
var appInfo = System.Reflection.Assembly.GetExecutingAssembly().GetName();
Version = $"{appInfo.Version.Major}.{appInfo.Version.Minor}.{appInfo.Version.Build}";
var appInfo = typeof(App).GetTypeInfo().Assembly.GetName();
Version = $"{appInfo.Version.Major}.{appInfo.Version.Minor}.{appInfo.Version.Build}";