Message-ID: <962736737.47024.1414749508933.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_47023_1815202917.1414749508933" ------=_Part_47023_1815202917.1414749508933 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. Wildcards '*', '?' and '**' are supported.
To display unit test results data, set the
Paths property to the path of the
*.trx Visual Studio T=
est Results reports (separated by commas if there are several reports)
Carefully read Upgrade from the .NET ecosystem version 2.1.