|
|
@ -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
|
|
|
|
// 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")
|
|
|
|
// used on another machine than it was installed on (e.g. "SharpDevelop on USB stick")
|
|
|
|
if (Environment.Version < new Version(4, 0, 30319, 17379)) { |
|
|
|
if (Environment.Version < new Version(4, 0, 30319, 17626)) { |
|
|
|
MessageBox.Show("This version of SharpDevelop requires .NET 4.5. You are using: " + Environment.Version, "SharpDevelop"); |
|
|
|
MessageBox.Show("This version of SharpDevelop requires .NET 4.5 RC. You are using: " + Environment.Version, "SharpDevelop"); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
// Work around a WPF issue when %WINDIR% is set to an incorrect path
|
|
|
|
// Work around a WPF issue when %WINDIR% is set to an incorrect path
|
|
|
|