Slow analysis with .sonarqube folder present

Hi Team

I am using dotnet-sonarscanner to do sonar analysis on dot net core project. After running, dotnet begin > dotnet build it takes ~2hrs to build the project. If I remove the .sonarqube folder and run dotnet build directly, it finishes build execution in less than 2mins. Could you let me know what is happening here ?

hi @Paras_Sharma

  • what is the version of SQ?

  • what is the version of the plugin?

  • to see what rules are taking time during build (see relevant topics on the community forum)

    • msbuild /p:reportanalyzer=true /v:d > build.log

Please attach the logs (also see this post for more details on what we are looking for Performance problem with running dotnet analysis)