Browse Source

Fixed Forum-9220(cgraefe): Show error message for .NET Framework 1.0 programs

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1541 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 19 years ago
parent
commit
92fce7c190
  1. 4
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs

4
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Service/WindowsDebugger.cs

@ -88,10 +88,14 @@ namespace ICSharpCode.SharpDevelop.Services @@ -88,10 +88,14 @@ namespace ICSharpCode.SharpDevelop.Services
if (!serviceInitialized) {
InitializeService();
}
if (debugger.GetProgramVersion(processStartInfo.FileName).StartsWith("v1.0")) {
MessageBox.Show("Debugging of .NET Framework 1.0 programs is not supported");
} else {
debugger.Start(processStartInfo.FileName,
processStartInfo.WorkingDirectory,
processStartInfo.Arguments);
}
}
public void StartWithoutDebugging(ProcessStartInfo processStartInfo)
{

Loading…
Cancel
Save