The C# Ecosystem is a set of plugins. They are all installed as part of the ecosystem, but not all of them will necessarily be used:
- Mandatory plugins:
- : defines API used by every other plugin of the ecosystem.
: parses C# code source, computes metrics, detects duplications, etc.
- Optional plugins adding features from external tools:
- FxCop to detect issues related to potential bugs, tight coupling, globalization, etc. : runs
- Gendarme to detect issues related to coding bad practices, smell detection, performance, etc. : runs
- Gallio to execute unit/integration tests as well as code coverage tool (PartCover or OpenCover or NCover or ...). : runs
- : runs a dependency parser tool, built on Mono Cecil, to get dependency data between assemblies and classes.
- StyleCop to detect issues mainly related to coding style (formatting, comments, ...). : runs
Some external components have to be installed on the Windows boxes where analyses are performed. As Since it is recommended to that you 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.
Depending on your projects, install the right version(s) of the .NET SDK. Then, log in to SonarQube as a System administrator and go to Settings > General Settings > .NET and set the
sonar.dotnet.X.Y.sdk.directory properties: absolute path to the .NET SDK X.Y installation directory.
If your projects embeds Silverlight code, Silverlight has to be installed. Depending on your projects, install the right version(s) of Silverlight. Then, log in as a System administrator and go to Settings > General Settings > .NET and set the
sonar.silverlight.X.mscorlib.location properties: absolute path to the core assembly for Silverlight X framework.