Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a verbose mode of SonarQube.Scanner.MSBuild.exe?

I have some problems while scanning a mixed C#, C++ solution with SonarQube.Scanner.MSBuild.exe. (during the SonarQube.Scanner.MSBuild.exe end) So I want to ask if there is a verbose option to activate enhanced/debug output.

The output is that a file is not found, but there is a additional subfolder in the path that is not correct, and I want to understand where it comes from.

Example: a.cpp is located on C:\src\ProjektA\Modul1, but the output says:

"Warn: Cannot find the file "C:\src\ProjektA\**Modul2**\Module1\a.cpp" skipping violations"

By the way: in FilesToAnalyse.txt the path is correct

like image 765
Daniel W. Avatar asked Sep 13 '25 11:09

Daniel W.


1 Answers

To activate verbose mode, you simply need to pass the following argument:

/d:sonar.verbose=true 

Reference: https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/analysis-parameters/#analysis-logging

like image 168
Fabrice - SonarSource Team Avatar answered Sep 14 '25 23:09

Fabrice - SonarSource Team