- Prior to the SonarQube analysis, generate the NCover3, OpenCover (at least version 4.5) or dotCover (at least version 2.7) reports.
- Import these reports while running the SonarQube analysis by setting the
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 for OpenCover reports, and the
sonar.cs.dotcover.reportsPathproperty for dotCover HTML reports (JSON / XML not supported). Paths may be absolute or relative to the project base directory.