The previous thread from Sept 2020 on this error does not answer my question.
I am using
- Sonarqube Version 8.7 (build 41497)
- Sonarscanner for .NET Core 2+ (sonar-scanner-msbuild-126.96.36.199487-netcoreapp2.0)
- OpenJDK 11.0.2
- Command line operation on Windows. No IDE. No CI/CD tool.
I have also tried using: sonar-scanner-msbuild-188.8.131.52487-net5.0. Results are the same.
My project is built using .NET Core 2.1.1.
I get these warning messages when I run the scanner:
WARN: No protobuf reports found. The C# files will not have highlighting and metrics.
WARN: No Roslyn issue reports were found. The C# files have not been analyzed.
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