29 references to DeleteDirectoryNoThrow
Microsoft.Build (2)
BackEnd\Shared\BuildResult.cs (1)
713FileUtilities.DeleteDirectoryNoThrow(resultsDirectory, true /*recursive*/);
FileUtilities.cs (1)
209DeleteDirectoryNoThrow(cacheDirectory, true);
Microsoft.Build.Engine.UnitTests (25)
BackEnd\SdkResolverLoader_Tests.cs (2)
85FileUtilities.DeleteDirectoryNoThrow(root, true); 117FileUtilities.DeleteDirectoryNoThrow(root, true);
BuildEnvironmentHelper_Tests.cs (3)
492FileUtilities.DeleteDirectoryNoThrow(BuildDirectory, true); 536FileUtilities.DeleteDirectoryNoThrow(BuildDirectory, true); 563FileUtilities.DeleteDirectoryNoThrow(TempFolderRoot, true);
ConsoleLogger_Tests.cs (2)
384FileUtilities.DeleteDirectoryNoThrow(tempProjectDir, true); 400FileUtilities.DeleteDirectoryNoThrow(tempProjectDir, true);
Definition\ToolsetConfigurationReaderTestHelper.cs (1)
53FileUtilities.DeleteDirectoryNoThrow(s_testFolderFullPath, true, 5, 1000);
Evaluation\Evaluator_Tests.cs (2)
336FileUtilities.DeleteDirectoryNoThrow(targetDirectory, true); 465FileUtilities.DeleteDirectoryNoThrow(targetDirectory, true);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (15)
72FileUtilities.DeleteDirectoryNoThrow(extnDir1, recursive: true); 321FileUtilities.DeleteDirectoryNoThrow(extnDir1, recursive: true); 428FileUtilities.DeleteDirectoryNoThrow(extnDir1, recursive: true); 432FileUtilities.DeleteDirectoryNoThrow(extnDir2, recursive: true); 519FileUtilities.DeleteDirectoryNoThrow(extnDir1, recursive: true); 523FileUtilities.DeleteDirectoryNoThrow(extnDir2, recursive: true); 527FileUtilities.DeleteDirectoryNoThrow(extnDir3, recursive: true); 589FileUtilities.DeleteDirectoryNoThrow(extnDir1, true); 651FileUtilities.DeleteDirectoryNoThrow(extnDir1, true); 720FileUtilities.DeleteDirectoryNoThrow(extnDir1, true); 785FileUtilities.DeleteDirectoryNoThrow(extnDir1, true); 844FileUtilities.DeleteDirectoryNoThrow(extnDir1, true); 905FileUtilities.DeleteDirectoryNoThrow(extnDir1, recursive: true); 909FileUtilities.DeleteDirectoryNoThrow(extnDir2, recursive: true); 943FileUtilities.DeleteDirectoryNoThrow(extnDir, recursive: true);
Microsoft.Build.UnitTests.Shared (2)
TestEnvironment.cs (2)
618FileUtilities.DeleteDirectoryNoThrow(TempPath, recursive: true); 760FileUtilities.DeleteDirectoryNoThrow(Path, true);