12 references to FileExistsNoThrow
Microsoft.Build (12)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
427
if (s_pathToX64Clr2 == null || !FileUtilities.
FileExistsNoThrow
(Path.Combine(s_pathToX64Clr2, toolName)))
440
if (s_pathToX32Clr2 == null || !FileUtilities.
FileExistsNoThrow
(Path.Combine(s_pathToX32Clr2, toolName)))
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (3)
178
if (!string.IsNullOrEmpty(pathToManifest) && !FileUtilities.
FileExistsNoThrow
(pathToManifest))
203
if (string.IsNullOrEmpty(manifest.Path) || !FileUtilities.
FileExistsNoThrow
(manifest.Path))
215
if (string.IsNullOrEmpty(assemblyPath) || !FileUtilities.
FileExistsNoThrow
(assemblyPath))
Evaluation\IntrinsicFunctions.cs (1)
495
if (taskHostLocation != null && FileUtilities.
FileExistsNoThrow
(taskHostLocation))
Instance\TaskRegistry.cs (6)
383
!FileUtilities.
FileExistsNoThrow
(assemblyFile, fileSystem))
387
if (FileUtilities.
FileExistsNoThrow
(replacedAssemblyFile, fileSystem))
401
!FileUtilities.
FileExistsNoThrow
(s_potentialTasksV4Location, fileSystem) &&
402
FileUtilities.
FileExistsNoThrow
(s_potentialTasksCoreLocation, fileSystem))
409
!FileUtilities.
FileExistsNoThrow
(s_potentialTasksV12Location, fileSystem) &&
410
FileUtilities.
FileExistsNoThrow
(s_potentialTasksCoreLocation, fileSystem))