Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 61 Next »

The C# Ecosystem is a Set of Plugins

The C# Ecosystem offers the following plugins:

  • Mandatory plugins:
    • .NET Core: the core plugin that defines API used by every other plugin in the ecosystem.
    • C# Core: the plugin that parses C# code source, computes metrics and detects copy-paste.
  • Optional plugins adding features from external tools:
    • .NET FxCop: launches FxCop analyses to detect issues related to potential bugs, tight coupling, globalization, etc.
    • .NET Gendarme: launches Gendarme analyses to detect issues related to coding bad practices, smell detection, performance, etc
    • .NET Gallio: launches Gallio to run tests and gets execution report as well as coverage report (using PartCover or OpenCover or NCover or ...).
    • .NET NDeps: launches a dependency parser tool, built on Mono Cecil, to get dependency data between assemblies and classes. 
    • C# StyleCop: launches StyleCop analyses to detect issues mainly related to coding style (formatting, comments, ...).

Installing the C# Ecosystem

  1. Install the .NET and C# plugins from the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
    • Prior to SonarQube 3.5: you need to click on the Install button of all the 7 plugins
    • Since SonarQube 3.5: you just need to click on the Install button of the C# group, this will install everything including the .NET plugins
  2. Restart the SonarQube server

Installing the External Tools

External tools have to be installed on the Windows boxes where analyses are performed. As it is recommended to install the SonarQube server and the client(s) on different machines, this means that you can run the SonarQube server on a Linux box and run the analyses on Windows boxes.


Install required if corresponding plugin is installed?


Supported version (Tested one in bold)



1.36+ (10.0)


NO, StyleCop 4.7 binaries are embedded in the plugin.

4.6+ (4.7)


NO, Gendarme 2.10 binaries are embedded in the plugin.

2.10+ (2.10)



3.1 Update 2 + (3.2.3)


YES if you want to use PartCover as the coverage engine.
Since PartCover is no longer maintained, OpenCover is preferred.
(click on the "Downloads" button)

2.2, 2.3 and 4.0 (4.0)


YES if you want to use NCover as the coverage engine

3.0 (3.0)
Version 4 is currently not supported. 


YES if you want to use OpenCover as the coverage engine.

1.0.X, 2.0.X, 4.0.X (4.0.1118)

JetBrains dotCoverYES if you want to use dotCover as the coverage engine., 2.X (1.2 & 2.0)
NDepsNO, binaries are embedded in the plugin. 

Some notes:

  • These external tools need the .Net framework to be installed. FxCop10 and OpenCover require .Net 4 but the other ones run fine with .Net 3.5.
  • StyleCop plugin relies on MsBuild to run the analysis.
  • No labels