|
|
|
@ -64,8 +64,13 @@ namespace MattEverson.SourceAnalysis { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var executable = Path.Combine(StyleCopWrapper.FindStyleCopPath(), "StyleCopSettingsEditor.exe"); |
|
|
|
string styleCopPath = StyleCopWrapper.FindStyleCopPath(); |
|
|
|
var parameters = "\"" + settingsFile + "\""; |
|
|
|
string executable; |
|
|
|
|
|
|
|
if (styleCopPath != null) |
|
|
|
|
|
|
|
executable = Path.Combine(styleCopPath, "StyleCopSettingsEditor.exe"); |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
executable = null; |
|
|
|
|
|
|
|
string parameters = "\"" + settingsFile + "\""; |
|
|
|
if (!File.Exists(executable)) { |
|
|
|
if (!File.Exists(executable)) { |
|
|
|
LoggingService.Debug("StyleCopSettingsEditor.exe: " + executable); |
|
|
|
LoggingService.Debug("StyleCopSettingsEditor.exe: " + executable); |
|
|
|
MessageService.ShowWarning("Unable to find the StyleCop Settings editor. Please specify the StyleCop location in Tools Options."); |
|
|
|
MessageService.ShowWarning("Unable to find the StyleCop Settings editor. Please specify the StyleCop location in Tools Options."); |
|
|
|
|