INFO: Sensor C# [csharp]
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 https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html
INFO: Sensor C# [csharp] (done) | time=1ms
Code is c# dotnet core 3.1
Not sure why is suggesting a different SonarScanner as I have no control over that - the sonarcloud-scan pipe is pre-configured.
You won’t be able to analyze a .Net project using these preconfigured pipes.
You need to use the .Net scanner for this. Unfortunately we don’t have an official tutorial to set it up with Bitbucket pipeline yet but you might be able to get some inspiration from other users that managed to do it, like here: