Name |
C# Plugins Ecosystem |
Authors |
Fabrice Bellingard (SonarSource), Alexandre Victoor, Jose CHILLAN |
Jira |
http://jira.codehaus.org/browse/SONARPLUGINS/component/14696 |
Latest Version |
Not released yet |
License |
GNU LGPL 3 |
Sources |
|
Download |
Not released yet |
Description & features
The goal of the C# plugins ecosystem is to make C# a first-class citizen in Sonar - like Java can be. For that purpose, the ecosystem consists of several plugins:
- C# Core : the core plugin that defines API used by every other plugin in the ecosystem
- C# Squid : the plugin that parses C# code source, computes metrics and detects copy-paste (distributed by SonarSource as a freeware)
- C# FxCop : the plugin launches FxCop analyses to detect coding violations relating to potential bugs, tight coupling, globalization, ...
- C# StyleCop : the plugin launches StyleCop analyses to detect coding violations primarily relating to coding style (formatting, comments, ...)
Installation & global settings
You need to install at least the C# Core plugin to be able to use the other plugins.
You may proceed either by downloading the JARs and copying them into the "/extensions/plugins" folder of Sonar, or more simply by using the Update Center in Sonar admin console.
After installing the JARs, and depending on which plugins you selected, you will have to set up the following properties for each plugin:
- C# Core: ".NET SDK Directory"
- C# FxCop: "FxCop executable"
- C# StyleCop: "StyleCop install directory"
Project settings
In order to run a Sonar analysis

