Browse Source

Check for .NET 4.5 RC since we crash on the beta.

newNRvisualizers
Daniel Grunwald 13 years ago
parent
commit
ffdfe17946
  1. 4
      src/Main/SharpDevelop/Startup/SharpDevelopMain.cs

4
src/Main/SharpDevelop/Startup/SharpDevelopMain.cs

@ -118,8 +118,8 @@ namespace ICSharpCode.SharpDevelop.Startup @@ -118,8 +118,8 @@ namespace ICSharpCode.SharpDevelop.Startup
{
// Safety check: our setup already checks that .NET 4 is installed, but we manually check the .NET version in case SharpDevelop is
// used on another machine than it was installed on (e.g. "SharpDevelop on USB stick")
if (Environment.Version < new Version(4, 0, 30319, 17379)) {
MessageBox.Show("This version of SharpDevelop requires .NET 4.5. You are using: " + Environment.Version, "SharpDevelop");
if (Environment.Version < new Version(4, 0, 30319, 17626)) {
MessageBox.Show("This version of SharpDevelop requires .NET 4.5 RC. You are using: " + Environment.Version, "SharpDevelop");
return false;
}
// Work around a WPF issue when %WINDIR% is set to an incorrect path

Loading…
Cancel
Save