.net 9 Azure devops pipeline what MSHosted agent to use #25766
-
Hi, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Same here, it looks like .net 9 is not available yet in the 'windows-latest' hosted agent.
|
Beta Was this translation helpful? Give feedback.
-
@LucaDN66 thanks for your reply and apologies for late response on my side - "Few days off".. Thanks for that |
Beta Was this translation helpful? Give feedback.
-
Just upgraded to .net 9 and am now facing the error It worked perfectly fine with .net 8.0 but since upgrading to 9.0 I get the above mentioned error. |
Beta Was this translation helpful? Give feedback.
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
inputs:
packageType: 'sdk'
version: '9.0.100'
installationPath: '$(Agent.ToolsDirectory)/dotnet'