I am trying to scan a very simple Visual Studio 2019 with .NET 4.7.2 with SonarQube and got the error:
I am tried to use sonar-scanner-4.2.0.1829 and also 1873 with the same result. The error states “only supported with MSBuild 14 or later”, but I am using MSBuild 16.
Is is possible to scan Visual Studio 2019 projects with SonarQube? If so, what am I doing wrong?
are you using SonarScanner for MSBuild ?. What version are you using ? (you provide the version for the scanner-cli which is used underneath by the Scanner for MSBuild)