upgrade<project>: upgrade to .net 5.0

This commit is contained in:
leo 2020-11-17 11:41:01 +08:00
parent a3f2c672b7
commit 24b175c331
4 changed files with 6 additions and 7 deletions

View file

@ -15,7 +15,8 @@ namespace SourceGit.UI {
/// </summary>
public string Version {
get {
return "VERSION : " + FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location).ProductVersion;
Assembly asm = Assembly.GetExecutingAssembly();
return "VERSION : " + asm.GetName().Version;
}
}