1.1 --- a/Server/FormMain.cs Mon Mar 06 15:11:27 2017 +0100
1.2 +++ b/Server/FormMain.cs Wed Mar 08 18:33:00 2017 +0100
1.3 @@ -220,7 +220,12 @@
1.4 else
1.5 {
1.6 //Not a proper Click Once installation, assuming development build then
1.7 - this.Text += " - development";
1.8 + var assembly = Assembly.GetExecutingAssembly();
1.9 + var versionInfo = FileVersionInfo.GetVersionInfo(assembly.Location);
1.10 + this.Text += " - v" + versionInfo.ProductVersion;
1.11 + // Update not supported for non Click Once installation
1.12 + buttonUpdate.Visible = false;
1.13 + //this.Text += " - development";
1.14 }
1.15
1.16 //CSCore