The FxCop type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AnalysisFailed |
Gets AnalysisFailed. True if FxCop logged Code Analysis errors to the Output file.
| |
| ConsoleXsl |
Sets the ConsoleXsl (/consoleXsl option)
| |
| DependencyDirectories |
Sets the DependencyDirectories :(/directory option)
| |
| Files |
Sets the Item Collection of assemblies to analyse (/file option)
| |
| FxCopPath |
Sets the path to FxCopCmd.exe. Default is 32bit: 'c:\Program Files\Microsoft FxCop 1.36\FxCopCmd.exe', 64bit: 'c:\Program Files (x86)\Microsoft FxCop 1.36\FxCopCmd.exe'
| |
| Imports |
Sets the name of an analysis report or project file to import (/import option)
| |
| LogToConsole |
Set to true to direct analysis output to the console (/console option). Default is true
| |
| OutputFile |
Set the name of the file for the analysis report
| |
| OutputText |
Gets the OutputText emitted during analysis
| |
| Project |
Set the name of the .fxcop project to use
| |
| ReportXsl |
Sets the ReportXsl (/outXsl: option)
| |
| Rules |
Sets the location of rule libraries to load (/rule option). Prefix the Rules path with ! to treat warnings as errors
| |
| ShowSummary |
Set to true to display a summary (/summary option). Default is true
| |
| Types |
Specifies the types to analyze
| |
| UpdateProject |
Saves the results of the analysis in the project file. This option is ignored if the /project option is not specified (/update option)
| |
| Verbose |
Set to true to output verbose information during analysis (/verbose option)
|