- Timestamp:
- 11/24/15 11:58:27 (9 years ago)
- Location:
- branches/RefactorPluginInfrastructure-2522
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/AboutDialog.cs
r13338 r13353 36 36 public AboutDialog() { 37 37 InitializeComponent(); 38 var curAssembly = this.GetType().Assembly;39 productTextBox.Text = GetProduct( curAssembly);40 versionTextBox.Text = GetVersion();41 copyrightTextBox.Text = GetCopyright( curAssembly);38 var entryAssembly = Assembly.GetEntryAssembly(); 39 productTextBox.Text = GetProduct(entryAssembly); 40 versionTextBox.Text = entryAssembly.GetFileVersion(); 41 copyrightTextBox.Text = GetCopyright(entryAssembly); 42 42 imageList.Images.Add(Resources.Plugin); 43 43 pictureBox.Image = Resources.HeuristicLabLogo; … … 77 77 } 78 78 79 private string GetVersion() {80 return AssemblyExtensions.GetFileVersion(GetType().Assembly);81 }82 83 79 private string GetProduct(Assembly asm) { 84 80 AssemblyProductAttribute attribute = GetAttribute<AssemblyProductAttribute>(asm); -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/HeuristicLab.PluginInfrastructure.UI-4.0.csproj
r13340 r13353 84 84 <DependentUpon>LicenseView.cs</DependentUpon> 85 85 </Compile> 86 <Compile Include="Main.cs" />87 86 <Compile Include="MultiSelectListView.cs"> 88 87 <SubType>Component</SubType> -
branches/RefactorPluginInfrastructure-2522/HeuristicLab.PluginInfrastructure.UI/SplashScreen.cs
r13340 r13353 42 42 this.pluginManager = manager; 43 43 44 var entryAssembly = Assembly.GetEntryAssembly(); 44 45 RegisterPluginManagerEventHandlers(); 45 46 46 versionLabel.Text = "Version " + typeof(PluginManager).Assembly.GetFileVersion() + " Windischgarsten (11/2015)"; 47 versionLabel.Text = "Version " + entryAssembly.GetFileVersion() + " " 48 + entryAssembly.GetCustomAttributes().OfType<AssemblyInformationalVersionAttribute>().First().InformationalVersion; // code name 47 49 infoLabel.Text = ""; 48 50 49 var attr = (AssemblyCopyrightAttribute)typeof(PluginManager).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false).Single();51 var attr = entryAssembly.GetCustomAttributes().OfType<AssemblyCopyrightAttribute>().Single(); 50 52 copyrightLabel.Text = "Copyright " + attr.Copyright; 51 53 … … 101 103 try { 102 104 Invoke((Action<string>)UpdateMessage, msg); 103 } 104 catch (ObjectDisposedException) { } 105 } catch (ObjectDisposedException) { } 105 106 } 106 107 -
branches/RefactorPluginInfrastructure-2522/HeuristicLab/3.3/Properties/AssemblyInfo.cs.frame
r13321 r13353 29 29 [assembly: AssemblyTitle("HeuristicLab 3.3")] 30 30 [assembly: AssemblyDescription("HeuristicLab 3.3")] 31 [assembly: AssemblyInformationalVersionAttribute("Windischgarsten (Nov-2015)")] 31 32 [assembly: AssemblyConfiguration("")] 32 33 [assembly: AssemblyCompany("")]
Note: See TracChangeset
for help on using the changeset viewer.