diff options
author | Jeffrey Stedfast <jeff@xamarin.com> | 2012-10-23 01:58:18 +0400 |
---|---|---|
committer | Jeffrey Stedfast <jeff@xamarin.com> | 2012-10-24 20:01:21 +0400 |
commit | ca00cb689d5c1d2a13a4d96a9ce35efb5cc23ce5 (patch) | |
tree | 6b24db6837db5f365f169aa98400e333119479cb | |
parent | 9525f54c20cd3f5ede7433e6f691b49d67f0d56e (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.cs | 2 |
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);
|