No analyzable projects were found


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

  1. Download and install the following elements: “.Net Framework”, “Visual Studio 2017”, “Visual Studio Build Tools” and “.Net Framework 3.5 Service Pack”

  2. Run the following commands:

2.1 SonarScanner.MSBuild.exe begin /k:“” /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


Hi @hernan_cortes_yip,

Please could you let us know the version of the Scanner for MSBuild, SonarC# and SonarQube you are using?

Also please provide the full log of the end step and ideally please let us know if you can see any warning SXXX in the logs of the build.