The “build-wrapper-dump.json” file was found but no C/C++/Objective-C files were analyzed

SonarQube Gurus,

Let me start by saying I’m almost certainly missing something here. I started with a working C# scan, then purchased a developer license, which in turn enabled C/C++ support, which I want, but broke the build. I added the build wrapper and it’s happier but now I’m seeing the error message in the tile. I’m trying to achieve scanning of a mixed C# and C++ Visual Studio 2022 project (.NET 7) built with MSBuild at command line. I’m currently doing all SonarQube behavior via command line. I use Dotnet-SonarScanner to begin with sonar.cfamily.build-wrapper-output directory defined, then call MSBuild with build-wrapper referencing same directory, then use Dotnet-SonarScanner to end and process.

Versions:
SonarQube Developer Edition 10.1
Dotnet-SonarScanner 5.14.0
Latest build wrapper for Windows as of today.

I know logs will be required. I’d prefer to share them privately, if possible, to avoid any sensitive data on here. I really appreciate any support you can provide.

Thanks,
Anthony

Hi Anthony,

Welcome to the community!

Can you bump up to SonarQube 10.2 and try again?

Also, there’s a bullet point list of possible causes in that error message. Can you verify you’ve checked each one of them, please?

 
Thx,
Ann

Hi Ann,

Thanks for taking the time to help me out. I really appreciate it! I’ll start with your suggestion of upgrading to 10.2. I saw the bullet points in the error message and I believe they’re covered, but I’ll review again to be sure.

If logs would be helpful, I could provide them in a PM.

Thanks,
Anthony

1 Like