Problem analyzing legacy .NET project

I am trying to use SQ on a legacy codebase that is having lots of performance problems, memory leaks, etc.

When I first hooked up the automatic scanner the scan failed but I did not get any error message or output to see what happened. I only got this analysis ID to post. This was on 7/21/25 around 9am PST.

Analysis ID “97f53492-9b49-4c6d-9c03-cf59c17d6f36”

Since this didn’t work we next moved to the github action installation but it is still failing. Here we are getting more details. At first the process ran out of memory so we upped it from 2GB → 8GB.

Now we are getting the error below which none of us understand. I am attaching the yml file from our github action also.

2025-07-21T20:24:33.9434243Z 
2025-07-21T20:24:33.9434304Z     27012 Warning(s)
2025-07-21T20:24:33.9434365Z     0 Error(s)
2025-07-21T20:24:33.9434371Z 
2025-07-21T20:24:33.9434435Z Time Elapsed 00:02:13.08
2025-07-21T20:24:33.9434790Z 20:24:32.373  Temporary analysis directory (usually .sonarqube) doesn't exist. The "begin" step was probably not executed.
2025-07-21T20:24:33.9434965
[deploy-sonar.zip|attachment](upload://dwmKHzWehGIVx9Xn5UJEls6t83u.zip) (1.4 KB)
Z 20:24:32.374  Post-processing failed. Exit code: 1
2025-07-21T20:24:33.9435042Z SonarScanner for MSBuild 10.3
2025-07-21T20:24:33.9435156Z Using the .NET Core version of the Scanner for MSBuild
2025-07-21T20:24:33.9435233Z Post-processing started.
2025-07-21T20:24:33.9447069Z ##[error]Process completed with exit code 1.

Will you please give some guidance about how we could possibly get this to work?

Hi,

Welcome to the community!

I’ve updated the title of your thread since in the end the question isn’t about a failing automatic analysis.

The crux of your latest error is this:

The docs should help.

 
Ann