Getting a not found error


I’m trying to setup up the evaluation version of sonarqube and sonar-scanner to scan my visual studio c++ projects, and am running into some basic config difficulties.

I’ve managed to generate my build-wrapper.log and build-wrapper-dump.json. The problem is that when I run sonar-scanner I get the message

ERROR: Error during SonarScanner execution

The only way to get an accurate analysis of C/C++/Objective-C files is by using the SonarSource build-wrapper and setting the property “”, but it was not specified.

I do have a in the root directory of the project, and it contains

#Configure here general information about the environment, such as SonarQube server connection details for example
#No information about specific project should appear here

#----- Default SonarQube server

#----- Default source code encoding


The environment is odd in that the root directory of the project does not contain the solution file, that’s in a subdirectory (mk32).

So, my questions are:
Any idea why it can’t find the buidl-wrapper files?
What should the sonar.sources point to?


In another thread I showed my yaml build definition including the sonar properties for a C++ analysis. May it give you some help.

Resolved the first issue, at least. While the documentation says to put the file “at the root of your project” (, it was actually searched for in C:\Program Files\sonar-scanner-\conf.