Problem with SonarQube Analysis for Asp.Net Website Project

Hi Kavitha,

In best case scenario, you should Convert a Web Site Project to a Web Application Project. That will make your life and development way easier.

If not:

  • Create new solution with one empty project.
  • Copy SLN and CSPROJ file into your project.
  • Open your solution and include all files into the project
  • Make the project buildable. You might need to exclude some *.aspx.cs or *.ascx.cs files due to conflicting class names.
  • Follow usual steps of analyzing .NET project with scanner for MSBuild.

Hope this helps
Pavel