How to analyze entire solution in Visual Studio 2022?

  • Operating system: Window 11 Enterprise Version 24H2
  • Visual Studio version: 2022 Version 17.14.22
  • SonarQube for Visual Studio plugin version: 9.2.0.15907
  • Programming language you’re coding in: C#
  • Is connected mode used: We’ve projects with connected mode and a few without connected mode
    • SonarQube Server Enterprise 2025.1 LTA

Problem / Question:
I’m trying to perform a static analysis on the entire solution using the Analyze → Run Code Analysis → On Solution command, and the status bar of the IDE shows that the solution has been analyzed. However, no results/issues are displayed in the error window. Only when I open a file, in this case C# files, are issues displayed. The solution contains > 100 files, and it would be very time-consuming to open each file just to see if it contains issues.
What do I need to do to manually perform an analysis of the entire solution and display the results?

Thanks you in advance and best regards

Hi,

This isn’t what SonarQube for IDE is designed for. It’s designed to show you the issues in the files you’re working in. If you want a full analysis, that’s SonarQube Cloud, SonarQube Server or SonarQube Community Build.

 
HTH,
Ann