I am trying to ignore some of the rules from external roslyn analyzer which are included in soarqube scan.
I have tried creating Sonarqube.Analysis.xml file as follows:
So basically there is no option to do it using the Sonarqube.Analysis.xml file.
The thing is we don’t want to touch existing setup, we have a refined Rosyln configuration pulled in via our props files (standard .NET approach). SonarQube is simply ignoring that, and just enabling everything.
SonarQube should only be importing Roslyn issues that would normally be raised for your project (we have no list of rules we try to force being raised). Would you be able to attach your refined analysis configuration?
It would also help to see the MSBuild detailed logs, to understand why other rules than expected are being executed.