SonarLint C# with SonarQube

When I execute a sonarqube analysis in C #, does the analyzer take the sonarlint and sonarqube rules at the same time?, Why?

Hi @Jorge_Lino,

The rules are the same and are only executed once.

If you are using SonarLint then the rules will be executed in the background by Visual Studio and the results reported in the IDE.

If you are running an analysis build using the SonarScanner for MSBuild then the same rules will be executed by MSBuild (strictly speaking by the C# compiler) with the results being reported to SonarQube/SonarCloud.