Skip to main content

FxCop

note

This is BETA. The behavior of this tool might change.

Supported VersionLanguageWebsite
3.3.2C#https://docs.microsoft.com/en-us/visualstudio/code-quality/static-code-analysis-for-managed-code-overview

FxCop is a static analysis tool for .NET platform. It supports both of C# and Visual Basic .NET. However, Sider supports C# project only now.

Limitations for beta version#

This is a beta release. We have several limitations for analysis.

  • Currently the rule set file (*.ruleset) is not supported. Sider uses the full set of analyzers available.

Getting Started#

To start using FxCop, enable it in your repository settings.

Configuration#

Here is an example configuration via sider.yml:

linter:  fxcop:    root_dir: src/
NameTypeDefault
root_dirstring-