3 implementations of DirectoryExists
Microsoft.Build.Tasks.Core (3)
CachingFileSystemWrapper.cs (1)
39
public bool
DirectoryExists
(string path)
ManagedFileSystem.cs (1)
137
public virtual bool
DirectoryExists
(string path)
MSBuildOnWindowsFileSystem.cs (1)
71
public bool
DirectoryExists
(string path)
34 references to DirectoryExists
Microsoft.Build.Tasks.Core (34)
AssemblyFolder.cs (1)
69
if (FileSystems.Default.
DirectoryExists
(folder))
AxTlbBaseTask.cs (2)
128
if ((String.IsNullOrEmpty(ToolPath) || !FileSystems.Default.
DirectoryExists
(ToolPath)) &&
129
(String.IsNullOrEmpty(SdkToolsPath) || !FileSystems.Default.
DirectoryExists
(SdkToolsPath)))
BootstrapperUtil\BootstrapperBuilder.cs (3)
531
if (FileSystems.Default.
DirectoryExists
(startDirectory))
601
if (FileSystems.Default.
DirectoryExists
(packagePath))
1582
if (!FileSystems.Default.
DirectoryExists
(strFolderPath))
BuildEnvironmentHelper.cs (2)
273
vsVersion != CurrentVisualStudioVersion || !FileSystems.Default.
DirectoryExists
(vsInstallDir))
298
.Where(i => i.Version.Major == v.Major && FileSystems.Default.
DirectoryExists
(i.Path))
CachingFileSystemWrapper.cs (1)
41
return CachedExistenceCheck(path, p => _fileSystem.
DirectoryExists
(p));
Copy.cs (1)
287
if (!FileSystems.Default.
DirectoryExists
(destinationFolder))
Exec.cs (1)
531
if (!FileSystems.Default.
DirectoryExists
(_workingDirectory))
FileMatcher.cs (2)
249
if (fileSystem.
DirectoryExists
(path))
2088
if (fixedDirectoryPart.Length > 0 && !_fileSystem.
DirectoryExists
(fixedDirectoryPart))
FileUtilities.cs (6)
220
if (DefaultFileSystem.
DirectoryExists
(cacheDirectory))
704
return (shouldCheckDirectory && DefaultFileSystem.
DirectoryExists
(Path.Combine(baseDirectory, directory.ToString())))
927
if (DefaultFileSystem.
DirectoryExists
(path))
1034
? FileExistenceCache.GetOrAdd(fullPath, fullPath => fileSystem.
DirectoryExists
(fullPath))
1035
: fileSystem.
DirectoryExists
(fullPath);
1528
if (!string.IsNullOrEmpty(directoryPath) && !DefaultFileSystem.
DirectoryExists
(directoryPath))
GenerateResource.cs (2)
2677
if (!FileSystems.Default.
DirectoryExists
(currentOutputDirectory))
2851
if (!FileSystems.Default.
DirectoryExists
(shorterPath))
ManifestUtil\LauncherBuilder.cs (1)
106
if (!FileSystems.Default.
DirectoryExists
(strFolderPath))
ManifestUtil\SecurityUtil.cs (1)
180
if (FileSystems.Default.
DirectoryExists
(path))
ManifestUtil\Util.cs (1)
269
if (!FileSystems.Default.
DirectoryExists
(logPath))
Move.cs (3)
206
if (FileSystems.Default.
DirectoryExists
(destinationFile))
212
if (FileSystems.Default.
DirectoryExists
(sourceFile))
236
if (!string.IsNullOrEmpty(destinationFolder) && !FileSystems.Default.
DirectoryExists
(destinationFolder))
NativeMethods.cs (2)
1330
if (FileSystems.Default.
DirectoryExists
(s_gacPath))
1462
if (FileSystems.Default.
DirectoryExists
(path))
RedistList.cs (1)
307
if (FileSystems.Default.
DirectoryExists
(redistDirectory))
RemoveDir.cs (1)
64
if (FileSystems.Default.
DirectoryExists
(directory.ItemSpec))
ResGen.cs (2)
442
if ((String.IsNullOrEmpty(ToolPath) || !FileSystems.Default.
DirectoryExists
(ToolPath)) &&
443
(String.IsNullOrEmpty(SdkToolsPath) || !FileSystems.Default.
DirectoryExists
(SdkToolsPath)))
TempFileUtilities.cs (1)
234
if (FileSystems.Default.
DirectoryExists
(Path))