We are working with Sonar community version 8.6 and SonarAnalyzer.CSharp version 8.17. The active Quality Profile is the Sonar way by default.
We have a ruleset file that contains the following references:
<Rules AnalyzerId="SonarAnalyzer.CSharp" RuleNamespace="SonarAnalyzer.CSharp">
<Rule Id="S101" Action="None" />
<Rule Id="S1135" Action="None" />
<Rule Id="S3458" Action="None" />
</Rules>
When we open the Rulesets with VS, many other disabled rules appear, such as S107 that appears active in SonarQube but inactive in VS.
Is this the expected behavior? Active rules shouldn’t match? How can we set them to match?