Changeset 7254


Ignore:
Timestamp:
01/02/12 11:02:14 (8 years ago)
Author:
ascheibe
Message:

#1579 the about dialog of the slave now displays the correct version information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.Slave.Views/3.3/AboutView.cs

    r6983 r7254  
    2020#endregion
    2121
     22using System.Diagnostics;
    2223using System.Reflection;
    2324using System.Windows.Forms;
     
    5657
    5758    private void AboutView_Load(object sender, System.EventArgs e) {
    58       versionTextBox.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     59      FileVersionInfo versionInfo = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
     60      string version = versionInfo.FileVersion;
     61
     62      versionTextBox.Text = version;
    5963    }
    6064
Note: See TracChangeset for help on using the changeset viewer.