Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
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 ed14e76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions FontVal/AssemblyInfo.cs
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion FontVal/FormAbout.cs
Expand Up @@ -2,6 +2,7 @@
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Reflection;
using System.Windows.Forms;

namespace FontVal
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit ed14e76

Please sign in to comment.