Skip to content

CodeQL autobuild still fails when project uses dotnet 9.0 #18954

Answered by mbg
Gigas002 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Gigas002,

The default version of dotnet on ubuntu-latest is currently 8.0.112, so that is what CodeQL uses. If you are targeting a 9.x project, then you will need to install that version of using a setup-dotnet step in your workflow before initialising CodeQL.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gigas002
Comment options

Answer selected by Gigas002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants