27 references to DirectoryExistsNoThrow
Microsoft.Build (4)
BackEnd\Components\SdkResolution\DefaultSdkResolver.cs (1)
33return FileUtilities.DirectoryExistsNoThrow(sdkPath)
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (2)
108if ((string.IsNullOrEmpty(rootFolder) || !FileUtilities.DirectoryExistsNoThrow(rootFolder)) && AdditionalResolversFolder == null) 140if (!string.IsNullOrEmpty(rootFolder) && FileUtilities.DirectoryExistsNoThrow(rootFolder))
Evaluation\IntrinsicFunctions.cs (1)
559return FileUtilities.DirectoryExistsNoThrow(path);
Microsoft.Build.Engine.UnitTests (2)
ConsoleLogger_Tests.cs (2)
380if (FileUtilities.DirectoryExistsNoThrow(tempProjectDir)) 396if (FileUtilities.DirectoryExistsNoThrow(tempProjectDir))
Microsoft.Build.Framework.UnitTests (3)
FileUtilities_Tests.cs (3)
619Assert.True(FileUtilities.DirectoryExistsNoThrow(inputPath)); 640FileUtilities.DirectoryExistsNoThrow(inputPath).ShouldBeTrue(); 641FileUtilities.DirectoryExistsNoThrow(inputPath.Replace('\\', 'X')).ShouldBeFalse();
Microsoft.Build.Tasks.Core (6)
AssemblyDependency\AssemblyFoldersExResolver.cs (1)
298if (FileUtilities.DirectoryExistsNoThrow(assemblyFolder))
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigCache.cs (1)
50.Where(assemblyFolder => FileUtilities.DirectoryExistsNoThrow(assemblyFolder.DirectoryPath))
AssemblyDependency\ResolveAssemblyReference.cs (1)
3295p => FileUtilities.DirectoryExistsNoThrow(p),
GetSDKReferenceFiles.cs (2)
1166if (FileUtilities.DirectoryExistsNoThrow(redistPath)) 1180if (FileUtilities.DirectoryExistsNoThrow(referencesPath))
MakeDir.cs (1)
68if (!FileUtilities.DirectoryExistsNoThrow(absolutePath))
Microsoft.Build.Tasks.UnitTests (5)
GetInstalledSDKLocations_Tests.cs (2)
31if (FileUtilities.DirectoryExistsNoThrow(FakeSdkStructureRoot)) 36if (FileUtilities.DirectoryExistsNoThrow(FakeSdkStructureRoot2))
GetSDKReference_Tests.cs (3)
39if (FileUtilities.DirectoryExistsNoThrow(_fakeSDKStructureRoot)) 200if (FileUtilities.DirectoryExistsNoThrow(_cacheDirectory)) 213if (FileUtilities.DirectoryExistsNoThrow(_cacheDirectory))
Microsoft.Build.Utilities.Core (4)
ToolLocationHelper.cs (4)
665if (FileUtilities.DirectoryExistsNoThrow(legacyWindowsMetadataLocation)) 2428if (FileUtilities.DirectoryExistsNoThrow(referenceAssemblyPath)) 2823if (FileUtilities.DirectoryExistsNoThrow(directoryName)) 2936diskRoots.RemoveAll(x => !FileUtilities.DirectoryExistsNoThrow(x));
Microsoft.Build.Utilities.UnitTests (3)
PlatformManifest_Tests.cs (1)
334if (FileUtilities.DirectoryExistsNoThrow(_manifestDirectory))
ToolLocationHelper_Tests.cs (2)
2940if (FileUtilities.DirectoryExistsNoThrow(_fakeStructureRoot)) 2948if (FileUtilities.DirectoryExistsNoThrow(_fakeStructureRoot2))