From ffdfe1794627878fb81c55551711a93ba607f15d Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Thu, 7 Jun 2012 23:18:37 +0200 Subject: [PATCH] Check for .NET 4.5 RC since we crash on the beta. --- src/Main/SharpDevelop/Startup/SharpDevelopMain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/SharpDevelop/Startup/SharpDevelopMain.cs b/src/Main/SharpDevelop/Startup/SharpDevelopMain.cs index 3768b04763..dae2eb46ee 100644 --- a/src/Main/SharpDevelop/Startup/SharpDevelopMain.cs +++ b/src/Main/SharpDevelop/Startup/SharpDevelopMain.cs @@ -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