From a3cabc08a161e427431b23765abe6ee2dfc08601 Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Wed, 31 Dec 2008 10:47:16 +0000 Subject: [PATCH] StyleCop's tools options panel now handles spaces in the settings file path. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3736 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs b/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs index 7e58ced0cd..0798683007 100644 --- a/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs +++ b/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs @@ -62,7 +62,7 @@ namespace MattEverson.SourceAnalysis void ModifyStyleCopSettingsClick(object sender, EventArgs e) { var executable = Path.Combine(StyleCopWrapper.FindStyleCopPath(), "StyleCopSettingsEditor.exe"); - var parameters = StyleCopWrapper.GetMasterSettingsFile(); + var parameters = "\"" + StyleCopWrapper.GetMasterSettingsFile() + "\""; if (!File.Exists(executable)) { LoggingService.Debug("StyleCopSettingsEditor.exe: " + executable);