Message-ID: <416761378.11805.1406586961070.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_11804_951934904.1406586961069" ------=_Part_11804_951934904.1406586961069 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The plugin enables analysis of C# (all versions) with SonarQube. It offe= rs coding rules provided directly by the plugin, as well as integratio= n with FxCop / Code Analysis (version 1= 0 at least).
Note that multi-language .NET solutions (C# + VB.NET) can be analyzed wi= th the SonarQube platform.
FxCop / Code Analysis (version 10 a= t least) must be installed on the analysis machine in order to be able to e= nable its rules in the plugin.
R= unning an Analysis
The SonarQube= Runner is recommended for analyzing .NET solutions.
To use SonarQube Runner, you must create a sonar-project.properties file= a> in the folder containing the solution (*.sln) file.
To display code coverage data:
sonar.cs.ncover3.reportsPathsproperty to the path= of the NCover3 reports (separated by commas if there are several reports).= Set the
sonar.cs.opencover.reportsPathsproperty fo= r OpenCover reports,
sonar.cs.dotcover.reportsPaths= for dotCover HTML reports (JSON / XML not supported), and
sonar.cs.vscoveragexml.reportsPathsf= or Visual Studio XML coverage reports. Paths may be absolute or relative to= the solution directory.
To display unit test results data, set the
portsPaths property to the path of the
*.trx Visual Stu=
dio Test Results reports (separated by commas if there are several reports)=
Carefully read Upgrade from the .NET ecosystem version 2.1.