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: #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
.