The sanner is running for long

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube

  • what are you trying to achieve
    use SonarScanner.MSBuild.exe begin /d d:sonar.cfamily.build-wrapper-output=bw-output to build a mix c++ and c# solution

  • what have you tried so far to achieve this

I successfully used sonarqube to configure a project, including 8 c++ projects and one c# project. But the analysis process takes too long. When sonarqube is not used, the compilation process only takes 14 minutes. But after adding sonar, three hours are not over yet. I don’t know how long it will last.

I use build-wrapper-win-x86-64 msbuild xxx.targets to build the different configuration.

Hi @hl_yang ,

did you get a full analysis yet?

About the C++ part, you can set up multi-threaded analysis, you can have a look at the documentation page, Multithreaded Code Scan section.