Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11623,11631,11634
- Property svn:mergeinfo changed
-
stable/HeuristicLab.PluginInfrastructure/3.3/ErrorHandling/FrameworkVersionErrorDialog.Designer.cs
r11170 r11920 85 85 this.linkLabel.TabIndex = 2; 86 86 this.linkLabel.TabStop = true; 87 this.linkLabel.Text = "Download Microsoft .NET Framework 4 (Full Profile)";87 this.linkLabel.Text = "Download Microsoft .NET Framework 4.5"; 88 88 this.linkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel_LinkClicked); 89 89 // … … 96 96 this.label.Size = new System.Drawing.Size(301, 43); 97 97 this.label.TabIndex = 1; 98 this.label.Text = "To run HeuristicLab you need at least the Microsoft .NET Framework 4 (Full Profil" +99 " e) or Mono version 2.11.4or higher. Please download and install it.";98 this.label.Text = "To run HeuristicLab you need at least the Microsoft .NET Framework 4.5 or Mono ve" + 99 "rsion 3.6.0 or higher. Please download and install it."; 100 100 // 101 101 // linkLabelMono -
stable/HeuristicLab.PluginInfrastructure/3.3/ErrorHandling/FrameworkVersionErrorDialog.cs
r11170 r11920 26 26 namespace HeuristicLab.PluginInfrastructure { 27 27 public partial class FrameworkVersionErrorDialog : Form { 28 public static bool NET4FullProfileInstalled { 28 private const string NETVersionPath = @"Software\Microsoft\NET Framework Setup\NDP\v4\Full"; 29 private const string NETVersion = "Version"; 30 31 public static bool NET4_5Installed { 29 32 get { 30 33 try { 31 return Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full") != null; 34 var registryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(NETVersionPath); 35 if (registryKey != null) { 36 var versionKey = registryKey.GetValue(NETVersion); 37 if (versionKey != null) { 38 Version version = new Version(versionKey.ToString()); 39 return version.Major >= 4 && version.Minor >= 5; 40 } 41 } 32 42 } 33 43 catch (System.Security.SecurityException) { 34 44 return false; 35 45 } 46 return false; 36 47 } 37 48 } … … 44 55 get { 45 56 var monoVersion = MonoVersion; 46 var minRequiredVersion = new Version( 2, 11, 4);47 48 //we need at least mono version 2.11.457 var minRequiredVersion = new Version(3, 6, 0); 58 59 //we need at least mono version 3.6.0 49 60 if (monoVersion != null && monoVersion >= minRequiredVersion) { 50 61 return true; … … 84 95 private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { 85 96 try { 86 System.Diagnostics.Process.Start("http://www.microsoft.com/ downloads/en/details.aspx?displaylang=en&FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7");97 System.Diagnostics.Process.Start("http://www.microsoft.com/en-us/download/details.aspx?id=30653"); 87 98 linkLabel.LinkVisited = true; 88 99 }
Note: See TracChangeset
for help on using the changeset viewer.