BuildMaster Documentation

Running and Capturing FxCop Output

  • Last Modified: 2019-07-18


FxCop is a free static code analysis tool from Microsoft that checks .NET managed code assemblies for conformance to Microsoft's .NET Framework Design Guidelines. While technically speaking FxCop is deprecated in favor of Roslyn Analyzers, many projects still depend on it for code quality.

BuildMaster can execute FxCop in a build or deploy plan, then capture the output from the report into a build report.

Example plan:

Exec "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe"
               Arguments: /out:report.xml 
               Path: report.xml

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit ce197caa on master