Description
When I execute “SonarScanner.MSBuild.exe end”, the analysis can’t be done and the following message appear: “No analyzable projecst were found…”. I have experience with sonar scanner for java, abap, cobol, python, etc. but it’s the first time i try to run sonar scanner for msbuilds
Repro steps
-
Download and install the following elements: “.Net Framework”, “Visual Studio 2017”, “Visual Studio Build Tools” and “.Net Framework 3.5 Service Pack”
-
Run the following commands:
2.1 SonarScanner.MSBuild.exe begin /k:“mx.org.infonavit.prueba” /n:“PruebaSonar” /v:“1.0” /d:sonar.verbose=true (Executes fine)
2.2 MSBuild.exe /t:Rebuild (Executes fine)
2.3 SonarScanner.MSBuild.exe end (Shows error message)
Expected behavior
Run the analysis
Actual behavior
Shows error message
Known workarounds
Related information
-
I’m using lastest versions specified in https://docs.sonarqube.org/display/SCAN/Install+the+SonarScanner+for+MSBuild
-
The project i’m trying to evaluate, was created using Visual Studio 2006 and lacks of .sln and .csproj files