Changeset 11121 for stable/HeuristicLab.PluginInfrastructure/3.3/Starter
- Timestamp:
- 07/07/14 17:00:14 (11 years ago)
- Location:
- stable
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11082,11113,11117
- Property svn:mergeinfo changed
-
stable/HeuristicLab.PluginInfrastructure/3.3/Starter/AboutDialog.cs
r9456 r11121 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Diagnostics;25 24 using System.Linq; 26 25 using System.Reflection; … … 80 79 81 80 private string GetVersion() { 82 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location); 83 return pluginInfrastructureVersion.FileVersion; 81 return AssemblyHelpers.GetFileVersion(GetType().Assembly); 84 82 } 85 83 -
stable/HeuristicLab.PluginInfrastructure/3.3/Starter/SplashScreen.cs
r9456 r11121 21 21 22 22 using System; 23 using System.Diagnostics;24 23 using System.Linq; 25 24 using System.Reflection; … … 45 44 RegisterPluginManagerEventHandlers(); 46 45 47 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location); 48 versionLabel.Text = "Version " + pluginInfrastructureVersion.FileVersion; 46 versionLabel.Text = "Version " + AssemblyHelpers.GetFileVersion(GetType().Assembly); 49 47 infoLabel.Text = ""; 50 48 -
stable/HeuristicLab.PluginInfrastructure/3.3/Starter/StarterForm.cs
r9456 r11121 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Diagnostics;25 24 using System.IO; 26 25 using System.Linq; … … 60 59 smallImageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.HeuristicLab.ToBitmap()); 61 60 smallImageList.Images.Add(HeuristicLab.PluginInfrastructure.Resources.UpdateAvailable.ToBitmap()); 62 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location); 63 Text = "HeuristicLab " + pluginInfrastructureVersion.FileVersion; 61 Text = "HeuristicLab " + AssemblyHelpers.GetFileVersion(GetType().Assembly); 64 62 65 63 string pluginPath = Path.GetFullPath(Application.StartupPath); … … 204 202 205 203 private void AddPluginManagerItem() { 206 FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location);207 204 pluginManagerListViewItem = new ListViewItem(pluginManagerItemName, 0); 208 205 pluginManagerListViewItem.Group = applicationsListView.Groups["Plugin Management"]; 209 pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, pluginInfrastructureVersion.FileVersion));206 pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, AssemblyHelpers.GetFileVersion(GetType().Assembly))); 210 207 pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, "Install, upgrade or delete plugins")); 211 208 pluginManagerListViewItem.ToolTipText = "Install, upgrade or delete plugins";
Note: See TracChangeset
for help on using the changeset viewer.