Open
Description
Found this in #48034 and disabled the test on Unix.
With the changes from dotnet/runtime#110417 we now delete the apphost if it exists.
This breaks the test since it tries to lock the file via FileShare.None to test that retries happen, but FileShare.None doesn't prevent a file from being deleted on Unix platforms, see dotnet/runtime#52700
sdk/test/Microsoft.NET.Build.Tests/AppHostTests.cs
Lines 461 to 463 in f2dd559
The test likely needs to be rewritten.
FYI @jtschuster