msbuild - SonarQube with custom Roslyn-based rules -
i have sonarqube 5.3.1 in place c# plugin 4.5.0 installed. basic included rules detected expected.
now, want use roslyn sdk project (https://github.com/sonarsource-visualstudio/sonarqube-roslyn-sdk) add tailor made analyzers account.
i'm pretty sure okay because raised in both visual studio , when using msbuild in command line.
my problem able upload issues sonar, must missing something.
i use sonarqube scanner msbuild v2.0, have installed generated jar , have activated rules (the appear in "code smell"), try build project rules should break (and do, said earlier), not seem pick rules.
the doc (https://blogs.msdn.microsoft.com/visualstudioalm/2016/02/18/sonarqube-scanner-for-msbuild-v2-0-released-support-for-third-party-roslyn-analyzers/) says should "produce error report containing analysis errors , warnings of analyzers" , upload sonarqube, cannot find report. @ least, sonarlint output file no related rule whatsoever.
i've tried wintellect analyzer github page suggests (https://github.com/sonarsource-visualstudio/sonarqube-roslyn-sdk) no success.
my guess there's wrong somewhere in configuration don't know where, idea ?
Comments
Post a Comment