This plugin enables the analysis of C# and VB.NET source files contained in .NET projects with JetBrains ReSharper Command Line Tools
Visual Basic .NET support The example below is for C#. VB.NET Plugin users should use the property "sonar.resharper.vbnet.reportPath" instead of "sonar.resharper.cs.reportPath".
Here are the exact steps to import ReSharper Command Line Tools results into SonarQube, using the SonarQube Scanner for MSBuild from the command line:
MSBuild.SonarQube.Runner.exe begin /k:"sonarqube_project_key" /n:"sonarqube_project_name" /v:"sonarqube_project_version" /d:sonar.resharper.cs.reportPath="%CD%\resharper.xml" /d:sonar.resharper.solutionFile="%CD%\ConsoleApplication1.sln"
msbuild "%CD%\ConsoleApplication1.sln"
"C:\jetbrains-commandline-tools\inspectcode.exe" /output="%CD%\resharper.xml" "%CD%\ConsoleApplication1.sln"
MSBuild.SonarQube.Runner.exe end
Many "Skipping the ReSharper issue at line..." messages can be shown in the logs at INFO level even if ReSharper issues are correctly imported into SonarQube: These messages are too verbose and can be safely ignored.
See Issue: Too many "Skipping the ReSharper issue at line ..." messages Open (SONARRSHPR-21)