Browse Source

Rename IISExpressProcessLocation

pull/15/head
Eusebiu Marcu 15 years ago
parent
commit
5ecfc6dfa4
  1. 4
      src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs
  2. 4
      src/Main/Base/Project/Src/Services/WebProjectService/WebProjectService.cs

4
src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs

@ -166,7 +166,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -166,7 +166,7 @@ namespace ICSharpCode.SharpDevelop.Services
if (options.Data.WebServer == WebServer.IISExpress) {
// start IIS express and attach to it
if (WebProjectService.IISVersion == IISVersion.IISExpress)
System.Diagnostics.Process.Start(WebProjectService.IIISExpressProcessLocation);
System.Diagnostics.Process.Start(WebProjectService.IISExpressProcessLocation);
else {
MessageService.ShowError("${res:ICSharpCode.WepProjectOptionsPanel.NoProjectUrlOrProgramAction}");
return;
@ -304,7 +304,7 @@ namespace ICSharpCode.SharpDevelop.Services @@ -304,7 +304,7 @@ namespace ICSharpCode.SharpDevelop.Services
if (options.Data.WebServer == WebServer.IISExpress) {
// start IIS express
if (WebProjectService.IISVersion == IISVersion.IISExpress)
System.Diagnostics.Process.Start(WebProjectService.IIISExpressProcessLocation);
System.Diagnostics.Process.Start(WebProjectService.IISExpressProcessLocation);
else {
MessageService.ShowError("${res:ICSharpCode.WepProjectOptionsPanel.NoProjectUrlOrProgramAction}");
return;

4
src/Main/Base/Project/Src/Services/WebProjectService/WebProjectService.cs

@ -64,7 +64,7 @@ namespace ICSharpCode.SharpDevelop.Project @@ -64,7 +64,7 @@ namespace ICSharpCode.SharpDevelop.Project
/// <summary>
/// Gets IIS Express process location.
/// </summary>
public static string IIISExpressProcessLocation {
public static string IISExpressProcessLocation {
get {
return Environment.GetFolderPath(System.Environment.SpecialFolder.ProgramFiles) +
@"\IIS Express\iisexpress.exe";
@ -177,7 +177,7 @@ namespace ICSharpCode.SharpDevelop.Project @@ -177,7 +177,7 @@ namespace ICSharpCode.SharpDevelop.Project
if (regValue > 4)
return (IISVersion)regValue;
if (File.Exists(IIISExpressProcessLocation))
if (File.Exists(IISExpressProcessLocation))
return IISVersion.IISExpress;
return IISVersion.None;

Loading…
Cancel
Save