New users as well as users of the recent versions of the C# plugins should consult this page.
|Latest versionVersion||2.1 ( 8 April 2013 )|
|Requires Sonar SonarQube version||3.0 or higher ( check version compatibility )|
|License||GNU LGPL 3|
|Developers||Fabrice Bellingard (Twitter) and Alexandre Victoor (Twitter)|
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 solutions (C# + VB.NET) can be analyzed by Sonar. See documentation and project samples.
See the with the SonarQube platform.
- Your C# codebase must be developed with Visual Studio and thus contain a ".sln" file (.NET solution).
Supported versions are:
Up to 5.0
2.0, 3.5, 4.0 and 4.5
3, 4 and 5
Tested with VS 2008, VS 2010 and VS 2012 ".sln" files
Follow the (outdated) C# Ecosystem Installation Guide.
Running a Sonar analysis
Running an 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.
Each plugin defines its own properties that are documented on the below pages:
FAQ and Troubleshooting
Browse the detailed documentation page on how to run an analysis of a C# solution.
To Go Further
- Metric definitions
- Extending C# coding rules
- Support of preprocessing instructions by the parser
- Branch coverage support
- Rules engine built on the squid parser
- Mutation testing using OpenMutate