I’m using AzureDevops and I have a SonarQubePrepare@5 task and a SonarQubeAnalyze@5 task in my pipeline. When the pipeline starts I see it’s these versions are being used :
Downloading task: SonarQubePrepare (5.8.0)
Downloading task: SonarQubeAnalyze (5.8.0)
However the analyze task in the pipe says this:
INFO: SonarScanner 4.7.0.2747
and then eventually :
18:59:00.357 INFO: Sensor C# [csharp]
18:59:00.357 WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the SonarScanner for .NET 5.x or higher, see SonarScanner for .NET | SonarQube Docs
but there’s nothing there that updates the sonarscanner such that my C# files will be analyzed. I just want the C# code analyzed.