Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2012-10-23 01:58:18 +0400
committerJeffrey Stedfast <jeff@xamarin.com>2012-10-24 20:01:21 +0400
commitca00cb689d5c1d2a13a4d96a9ce35efb5cc23ce5 (patch)
tree6b24db6837db5f365f169aa98400e333119479cb
parent9525f54c20cd3f5ede7433e6f691b49d67f0d56e (diff)
[CorDebugger] Choose the correct xsp version to run based on the ClrVersion
Fixes bug #3807
-rw-r--r--extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerEngine.cs b/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerEngine.cs
index 7b628cb32b..ef754137f2 100644
--- a/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerEngine.cs
+++ b/extras/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorDebuggerEngine.cs
@@ -43,7 +43,7 @@ namespace MonoDevelop.Debugger.Win32
AspNetExecutionCommand acmd = command as AspNetExecutionCommand;
if (acmd != null) {
DebuggerStartInfo startInfo = new DebuggerStartInfo ();
- string xspName = (acmd.ClrVersion == ClrVersion.Net_1_1) ? "xsp" : "xsp2";
+ string xspName = AspNetExecutionHandler.GetXspName (acmd);
string xspPath = acmd.TargetRuntime.GetToolPath (acmd.TargetFramework, xspName);
if (!File.Exists (xspPath))
throw new UserException (string.Format ("The \"{0}\" web server cannot be started. Please ensure that it is installed.", xspName), null);