Skip to content
Permalink
Browse files
using Assembly Version in the Release version display; work-around xa…
…marin bug 38515

another work-around
  • Loading branch information
HinTak committed Feb 8, 2016
1 parent b27747b commit ed14e76df6b1699cb39bcd59702e3b4bc4cec9aa
Showing 2 changed files with 5 additions and 1 deletion.
@@ -28,6 +28,7 @@
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.1.*")]
[assembly: AssemblyInformationalVersion("1.1")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
@@ -2,6 +2,7 @@
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Reflection;
using System.Windows.Forms;

namespace FontVal
@@ -33,7 +34,9 @@ public FormAbout()

// Display the assembly information in a Label.
//Label label1 = new Label();
label1.Text += " " + this.ProductVersion;
AssemblyName assemName = Assembly.GetExecutingAssembly().GetName();
label1.Text += " " + assemName.Version.Major + "." + assemName.Version.Minor
+ "." + assemName.Version.Build + "." + assemName.Version.Revision;
}

/// <summary>

0 comments on commit ed14e76

Please sign in to comment.