StyleCop Properties
From TFS Build Extensions
The StyleCop type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AdditionalAddInPaths |
Set the location of any custom addins
| |
| CacheResults |
Sets a value indicating whether StyleCop should write cache files to disk after performing an analysis. Default is false.
| |
| ForceFullAnalysis |
Sets a value indicating whether StyleCop should ignore cached results and perform a clean analysis.
| |
| LogFile |
Sets the text log file that list the violation
| |
| MaximumViolationCount |
Sets the maximum violation count before scanning is halted.
| |
| SettingsFile |
Sets the path to the settings file that defines the rules
| |
| ShowOutput |
Sets a value indicating whether to show names of files scanned to the build log
| |
| SourceFiles |
Sets the source files path or list of specific files
| |
| Succeeded |
Gets whether the scan succeeded.
| |
| TreatViolationsErrorsAsWarnings |
Set to true to treat all stylecop violations as warnings
| |
| ViolationCount |
Gets the number of violations found.
| |
| XmlOutputFile |
Sets the name for the XML log file produced by the StyleCop runner
|