.NET Core 3.1 application not building on Azure pipeline anymore (.NET 5)

had the same problem with a local build agent

error NETSDK1005: Assets file 'project.assets.json' ....

Update NuGet.exe to the 5.8.0 version or above

and clearing NuGet cache:

dotnet nuget locals all --clear

Download Nuget

found here


.NET Core 3.1 application not building on Azure pipeline anymore (.NET 5)

Please try to update the nuget.exe to the 5.8.0 by the task NuGet tool installer:

enter image description here

You could check this thread for some more details.