diff --git a/OWTrack/Form1.cs b/OWTrack/Form1.cs
index d59616c..a940c78 100644
--- a/OWTrack/Form1.cs
+++ b/OWTrack/Form1.cs
@@ -18,8 +18,8 @@ namespace OWTrack
InitializeComponent();
loadSave();
checkStatus();
- label4.Text = Program.Version;
- Text = "OWTrack " + Program.Version;
+ label4.Text = Program.Version.ToString();
+ Text = "OWTrack " + Program.Version.ToString();
}
private void checkStatus()
diff --git a/OWTrack/OWTrack.csproj b/OWTrack/OWTrack.csproj
index 91f8bc3..15c722e 100644
--- a/OWTrack/OWTrack.csproj
+++ b/OWTrack/OWTrack.csproj
@@ -11,6 +11,7 @@
v4.6.1
512
true
+ false
publish\
true
Disk
@@ -21,10 +22,10 @@
false
false
true
- 0
- 1.0.0.%2a
- false
+ 12
+ 1.2.3.%2a
false
+ true
true
@@ -67,6 +68,18 @@
MinimumRecommendedRules.ruleset
true
+
+ 120F37EDC91FF77172D31673046260B265C70C5D
+
+
+ OWTrack_TemporaryKey.pfx
+
+
+ true
+
+
+ true
+
..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll
@@ -105,6 +118,7 @@
True
Resources.resx
+
SettingsSingleFileGenerator
diff --git a/OWTrack/Program.cs b/OWTrack/Program.cs
index 9dfd33f..5f9eea6 100644
--- a/OWTrack/Program.cs
+++ b/OWTrack/Program.cs
@@ -1,14 +1,17 @@
using System;
using System.Collections.Generic;
+using System.Deployment.Application;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
+using System.Deployment.Application;
+
namespace OWTrack
{
static class Program
- {
- public static string Version = "1.2.3";
+ {
+ //public static string Version = Application.ProductVersion;
///
/// The main entry point for the application.
///
@@ -19,6 +22,14 @@ namespace OWTrack
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
-
+ private static Version version = new Version(Application.ProductVersion);
+
+ public static Version Version
+ {
+ get
+ {
+ return version;
+ }
+ }
}
}
diff --git a/OWTrack/Properties/AssemblyInfo.cs b/OWTrack/Properties/AssemblyInfo.cs
index b13bdd9..e95da8b 100644
--- a/OWTrack/Properties/AssemblyInfo.cs
+++ b/OWTrack/Properties/AssemblyInfo.cs
@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTitle("OWTrack")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
+[assembly: AssemblyCompany("Hesham Systems LLC")]
[assembly: AssemblyProduct("OWTrack")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
@@ -33,7 +33,9 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+//[assembly: AssemblyVersion("1.0.0.0")]
+//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("")]
+[assembly: AssemblyVersion("1.2.3")]
+[assembly: AssemblyFileVersion("1.2.3")]