SonarCloud analysis of .NET project times out build

You can set ReportAnalyzer and verbose build log to see how long time each rule takes. See this guide for more details:

As we know that there’s a single rule that causes troubles, you can disable all other rules to save build time.
You can also disable the analysis for each project that doesn’t hang.
The build should be as fast as your build without analysis in case the rule is not causing troubles in that specific test run directory.