aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-25 14:19:42 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-25 14:19:42 +0300
commitf98fc42ef7f1fc1d5570ebfed71d65894fafe1d5 (patch)
tree7e3e66e259d723e1da2ec21a54594b998bf6ca6f /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
parent064a839e731d7d96922b468330fab5c065609a01 (diff)
downloadTango-f98fc42ef7f1fc1d5570ebfed71d65894fafe1d5.tar.gz
Tango-f98fc42ef7f1fc1d5570ebfed71d65894fafe1d5.zip
Machine Studio v2.0.9
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
index 00bd895f3..8d2d617f0 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
@@ -2,6 +2,7 @@
using Ionic.Zip;
using System;
using System.Collections.Generic;
+using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
@@ -124,7 +125,7 @@ namespace Tango.MachineStudio.Publisher
private void UpdateVersions()
{
- CurrentVersion = typeof(MainWindowVM).Assembly.GetName().Version.ToString();
+ CurrentVersion = FileVersionInfo.GetVersionInfo(Core.Helpers.AssemblyHelper.GetCurrentAssemblyFolder() + "\\Tango.MachineStudio.UI.exe").ProductVersion;
LatestVersion = _client.GetLatestVersion();
}