codeql icon indicating copy to clipboard operation
codeql copied to clipboard

.NET 10 Support

Open wsugarman opened this issue 2 months ago • 4 comments

I recently updated a C# project to use the new .NET 10 SDK, but my CodeQL workflow started throwing an error on analysis:

Error: Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.23.3/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14581 /home/runner/work/_temp/codeql_databases/csharp". Exit code was 32 and last log line was: CodeQL detected code written in C# but could not process any of it. For more information, review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.

I see in the Supported Languages documentation that .NET 10 is not yet listed. Is that truly the issue, and if so is there a timeline for support?

Example public workflow: https://github.com/microsoft/healthcare-shared-components/actions/runs/19305417788/job/55211454683?pr=1301

wsugarman avatar Nov 12 '25 17:11 wsugarman

Hi @wsugarman 👋🏻

Is that truly the issue, [..]

Broadly, yes, but also see my response over in https://github.com/github/codeql-action/issues/3207#issuecomment-3518063679

[..] and if so is there a timeline for support?

We don't currently have a public timeline for .NET 10 support in CodeQL.

mbg avatar Nov 12 '25 17:11 mbg

Ah, sorry for missing the other issue @mbg, and thank you for the response

wsugarman avatar Nov 12 '25 17:11 wsugarman

@wsugarman your runner image is ubuntu, which hasn't been supported yet, windows 2022 will work.

vienleidl avatar Nov 13 '25 14:11 vienleidl

@wsugarman your runner image is ubuntu, which hasn't been supported yet, windows 2022 will work.

Oh, really? Thank you for the pointer.

wsugarman avatar Nov 15 '25 01:11 wsugarman