SonarQube support for for ASP.NET 3.5

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

Hello, i have downloaded the latest version of SonarQube (sonarqube-8.4.2.36762) and completed the basic setup. I have not yet installed SonarScanner.

what are you trying to achieve

Im trying to run sonarScanner against my legacy application developed in ASP.NET 3.5 in C# however the prerequisites does not include ASP.NET V3.5

Prerequisites

  • Java 8 or greater. Version 11 will be mandatory starting October 2020.
  • The SDK corresponding to your build system:
    • () - either () or the ()
    • .NET Core 2.0 - () (for .NET Core 2 version of the scanner)
    • .NET Core 3.0 - () (for .NET Core 3 version of the scanner)
    • .NET Core 2.1 - () (for .NET Core version of the scanner or if you plan to use .NET Core global tool

what have you tried so far to achieve this

I have only installed SonarQube till now, i would like to install sonarscanner that would support ASP.NET V3.5

Can anyone please guide me to do so.

Thank you.

HI @Zuest,

Welcome to the community! :wave:

The SonarScanner for MSBuild is the correct tool for the job here. Because it uses features of the MS Roslyn compiler, it requires you to build and analyze your solution using .NET Framework 4.6+ but you can use that and still target earlier versions of the .NET framework by following these instructions.

Regards,

Cameron.