SonarQube for Visual Studio and "SonarAnalyzer.CSharp" Nuget package

Hi,

I have 2 questions:

  1. I have installed the SonarQube IDE extension for Visual Studio and connected it with SonarQube Cloud. If I open any project source file in Visual Studio, I can see Sonar warnings/errors related to configured rules. But is it possible to start code analysis for the whole project (not for the opened files) in Visual Studio?

  2. I found the “SonarAnalyzer.CSharp” NuGet package, and when I added it to the .NET project, I can see all project warnings after the project/solution build. Is it possible to configure the “SonarAnalyzer.CSharp” to connect with SonarQube Cloud to synchronize analysis rules with it?

My environment:

  • Windows x64
  • SonarQube IDE version 9.5.0.16100
  • SonarAnalyzer.CSharp version 10.18.0.131500
  • IDE: Visual Studio 2026
  • Project: .NET 10, C# language

Thanks in advance.

Hi,

Welcome to the community!

It’s not possible to trigger a full analysis in SonarQube for IDE. The idea behind the IDE extension is to help you in the moment, in the file you’re working on. Full project analysis happens during your pipeline execution, with the results sent to SonarQube Cloud in your case.

 
HTH,
Ann