NameC# Ecosystem
Latest version2.1 ( 8 April 2013 )
Requires Sonar version3.0 or higher ( check version compatibility )
DownloadCSharpPluginsEcosystem-2.1.zip
LicenseGNU LGPL 3
DevelopersFabrice Bellingard (Twitter) and Alexandre Victoor (Twitter)
Issue trackerhttp://jira.codehaus.org/browse/SONARDOTNT
Sourceshttps://github.com/SonarCommunity/sonar-dotnet

If you want to see a live example of the capabilities of the C# Ecosystem, you can have a look at the analysis of the MyBatis.Net project on Nemo. You can also check the C# and VB.NET solution on Nemo to see how Sonar can analyse multi-language .NET solutions.

Description / Features

The C# Ecosystem is a set of Sonar plugins used to monitor the quality of .NET software written in C#.

Note that, since version 2.0, multi-language .NET Solutions (C# + VB.NET) can be analyzed by Sonar. See documentation and project samples.

It is compatible with the Issues Report plugin to run pre-commit local analysis.

Installation

See the C# Ecosystem Installation Guide.

Usage

Running a Sonar analysis

To run a Sonar analysis on a C# solution, it is recommended to use the Sonar Runner. But Maven can also be used to trigger the analysis.

To help you get started, a project sample is available on github. It provides both flavors (Sonar Runner and Maven).

For more details on how to run a Sonar analysis on a C# solution, see the detailed documentation page.

Advanced Settings

Each plugin defines its own properties that are documented on the below pages:

  1. .Net Core
  2. C# Core
  3. .Net FxCop
  4. C# StyleCop
  5. .Net Gendarme
  6. .Net Gallio
  7. .Net NDeps

FAQ and Troubleshooting

To Go Further...

Roadmap

Change Log