The Resharper plugin 2.0 for sonar is marked as deprecated, but untill something new pops up, I would like to use it. Or at least testdrive it.
The plugin is still available on the GitHub page https://github.com/SonarQubeCommunity/sonar-resharper and I downloaded the JAR and dropped it into the extensions\plugins folder, where it is picked up as a valid plugin.
But my resharper.xml rules result is never picked up. What am I doing wrong? Is it not supported to just "xcopy" deploy the JAR plugins?
I get everything else in my solutions analyzed and imported into Sonar, including code coverage. I am using the Resharper console tool, to generate the report, and the solution file and the report, that I tell Sonar to use, are there, at the correct location.
I can see from my sonar-project.properties that is generated by the MSBuild Sonar runner knows that the resharper files are known.
sonar.verbose=true
sonar.cs.vscoveragexml.reportsPaths=d:\\Builds\\1\\TSV.NET\\MsmqMonitor\\TestResults\\VisualStudio.coveragexml
sonar.resharper.cs.reportPath=d:\\Builds\\1\\TSV.NET\\MsmqMonitor\\TestResults\\resharper.xml
sonar.resharper.solutionFile=D:\\Builds\\1\\TSV.NET\\MsmqMonitor\\Sources\\MsmqMonitor.sln
sonar.host.url=http://tfs03te:9000
sonar.visualstudio.enable=false
And the SonarQubeAnalysisConfig.xml that I am guessing MSBuild Sonar runner is also using contains this:
<LocalSettings>
<Property Name="sonar.verbose">true</Property>
<Property Name="sonar.cs.vscoveragexml.reportsPaths">d:\Builds\1\TSV.NET\MsmqMonitor\TestResults\VisualStudio.coveragexml</Property>
<Property Name="sonar.resharper.cs.reportPath">d:\Builds\1\TSV.NET\MsmqMonitor\TestResults\resharper.xml</Property>
<Property Name="sonar.resharper.solutionFile">D:\Builds\1\TSV.NET\MsmqMonitor\Sources\MsmqMonitor.sln</Property>
</LocalSettings>
<AnalyzerSettings>
<RuleSetFilePath>D:\Builds\1\TSV.NET\MsmqMonitor\.sonarqube\conf\SonarQubeRoslyn-cs.ruleset</RuleSetFilePath>
<AnalyzerAssemblyPaths>
<Path>C:\Users\LRNX\AppData\Local\Temp\2\.sonarqube\.static\csharp_1.13.0\SonarAnalyzer.zip\SonarAnalyzer.CSharp.dll</Path>
<Path>C:\Users\LRNX\AppData\Local\Temp\2\.sonarqube\.static\csharp_1.13.0\SonarAnalyzer.zip\SonarAnalyzer.dll</Path>
<Path>C:\Users\LRNX\AppData\Local\Temp\2\.sonarqube\.static\csharp_1.13.0\SonarAnalyzer.zip\SonarAnalyzer.zip</Path>
</AnalyzerAssemblyPaths>
<AdditionalFilePaths>
<Path>D:\Builds\1\TSV.NET\MsmqMonitor\.sonarqube\conf\SonarLint.xml</Path>
</AdditionalFilePaths>
</AnalyzerSettings>
EDIT: Checked the Quality Profile settings, and Resharper rules were not detected (I also only deployed the JAR file thus far).