We have an integration with SonarCloud & Azure Devops, and are having trouble with slow build times, for a solution of aprox 350K lines of code.
We have the 3 steps as part of our pipeline: Prepare, Run Analysis and Publish.
The analysis task runs reasonably fast, aprox 6 mins, but I’m trying to figure out why the actual building of the sln file, using VSBuild@1 task, takes >30min, instead of aprox 8 mins with Sonar disabled.
I assume the Prepare task does some replacing/configuring of msbuild and causes the build task to do more than usual. Is this true?
And finally, I’d be of great help to know if these times are normal for this kind of overhead, or we should investigate this further and optimize/fix problems.