Skip to content

.net 9 Azure devops pipeline what MSHosted agent to use #25766

Answered by LucaDN66
gabsamples6 asked this question in General
Discussion options

You must be logged in to vote

Same here, it looks like .net 9 is not available yet in the 'windows-latest' hosted agent.
If you really need to support .net 9 you can install it manually adding these lines to the yaml

  • task: UseDotNet@2 #This is needed until windows-latest hosted agent will support .net 9
    inputs:
    packageType: 'sdk'
    version: '9.0.100'
    installationPath: '$(Agent.ToolsDirectory)/dotnet'

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gabsamples6
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants