The changes in #2895 updated the pipeline to remove the .dotnet dir that was created for the use of MicroBuild. That change should be reverted once dotnet/arcade#16091 has been implemented as it will allow MicroBuild to have it's own separate installation of .NET SDK.