SonarQube-Website folder/Website application not getting analyzed

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)— 7.9

  • how is SonarQube deployed: zip

  • what are you trying to achieve-- Asp .Net webforms analysis of specific website with all c# , .cs and .aspx.cs files but not able to scan whole folder of website.

  • what have you tried so far to achieve this-- Analysis of website with .csproj files , with Sonar-project properties inclusion property , referring from .sln of project to website , Sonar.verbose set to true, tried without csproj also.


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9 → 8.9.10 → 9.9.2 → 10.2.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

And, as documented in the Scanner for .NET docs:

  • Web Application projects are supported. Legacy Web Site projects are not.

Hi Colin, All

As we are using visual studio 2015, Build is successful but for website folder there is no .csproj file / .sln file in folder to analyze.
and we previously sonarqube version was 5.6 and later on upgraded to 7.9.
As per solution we have tried with 8.9 , 9.3, 9.9 also still issue is same.
Is is possible to analyze /scan project without .csproj file.
tried with Ms-build scanner version 3.3 , 4.1. 4.6, 4.8 also.

Again, it sounds like a legacy website project that won’t be supported by analysis.