in src/Shared/MSBuildSdkTestBase.cs [62:87]
protected virtual void Dispose(bool disposing)
{
if (disposing)
{
if (Directory.Exists(TestRootPath))
{
try
{
Directory.Delete(TestRootPath, recursive: true);
}
catch (Exception)
{
try
{
Thread.Sleep(500);
Directory.Delete(TestRootPath, recursive: true);
}
catch (Exception)
{
// Ignored
}
}
}
}
}