Azure / Azure/azure-powershell
[Eng]: Support for NuGet tooling when using Ubuntu 24.04 hosted agents
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
Scenario
Our pipelines upgraded from ubuntu-22.04 to ubuntu-24.04 Microsoft-hosted agents.
On 24.04, mono is no longer included, which breaks tasks that depend on nuget.exe (specifically NuGetCommand@2).
This PR applied a temp fix: https://github.com/Azure/azure-powershell/pull/28611
Azure PowerShell build/test pipelines are affected since they invoke nuget.exe under the hood.
Expected
Migration of the build infra to supported alternatives (e.g., NuGetAuthenticate@1 with .NET CLI).
Impact
More robust solution that the temp fix currently applied, this is Microsoft's guidance on dealing with `mono` issue going forward.
References
[Microsoft-hosted agent images announcement](https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-command-v2?view=azure-pipelines&tabs=windows#support-for-newer-ubuntu-hosted-images)
.
Contributor guide
Assessment
This issue has not been assessed yet.