SonarQube 8.0.39 Community edition, Scanner for msbuild 5.0.4, Azure devops marketplace extension
We are currently evaluating the Sonarqube community edition before purchasing the developer edition and have hit a snag with analysing our C# .NET framework code (a mix of 4.61 to 4.8 projects).
Setup
Sonarqube 8.6.0.38 installed on a windows server VM
Azure Devops (cloud not server) pipeline with marketplace extension installed. Integrating with ms build. We are using the hosted agent windows 2019
Issue:
Trying to scan .NET framework solutions, scans javascript but not C# code. I see there is reference to changing the version of the sonar scanner from 5 to 4 here: https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/
But I’m unclear whether the installation of the standalone executable(or another method to switch the version) needs to be installed on the sonarqube virtual machine we have configured, in each project’s repository, or there is a setting in the azure devops pipeline configuration we can use.