41 references to _cacheDirectory
Microsoft.Build.Tasks.UnitTests (41)
GetSDKReference_Tests.cs (41)
200
if (FileUtilities.DirectoryExistsNoThrow(
_cacheDirectory
))
202
_output.WriteLine($"Found existing cache directory {
_cacheDirectory
}; deleting it.");
203
FileUtilities.DeleteDirectoryNoThrow(
_cacheDirectory
, true);
206
Directory.CreateDirectory(
_cacheDirectory
);
208
_output.WriteLine($"Created cache directory {
_cacheDirectory
}.");
213
if (FileUtilities.DirectoryExistsNoThrow(
_cacheDirectory
))
215
_output.WriteLine($"Deleting cache directory {
_cacheDirectory
}.");
216
FileUtilities.DeleteDirectoryNoThrow(
_cacheDirectory
, true);
238
CacheFileFolderPath =
_cacheDirectory
,
350
t.CacheFileFolderPath =
_cacheDirectory
;
368
t.CacheFileFolderPath =
_cacheDirectory
;
393
t.CacheFileFolderPath =
_cacheDirectory
;
419
t.CacheFileFolderPath =
_cacheDirectory
;
484
t.CacheFileFolderPath =
_cacheDirectory
;
511
t.CacheFileFolderPath =
_cacheDirectory
;
522
t.CacheFileFolderPath =
_cacheDirectory
;
541
CacheFileFolderPath =
_cacheDirectory
595
t.CacheFileFolderPath =
_cacheDirectory
;
613
string[] existingCacheFiles = Directory.GetFiles(
_cacheDirectory
, cacheFile);
618
t2.CacheFileFolderPath =
_cacheDirectory
;
642
string[] existingCacheFiles2 = Directory.GetFiles(
_cacheDirectory
, cacheFile);
647
string[] allCacheFiles = Directory.GetFiles(
_cacheDirectory
, sdkIdentity2 + ",Set=" + FileUtilities.GetHexHash(sdkIdentity2) + "*");
661
t.CacheFileFolderPath =
_cacheDirectory
;
709
t.CacheFileFolderPath =
_cacheDirectory
;
754
t.CacheFileFolderPath =
_cacheDirectory
;
777
t.CacheFileFolderPath =
_cacheDirectory
;
802
t.CacheFileFolderPath =
_cacheDirectory
;
853
t.CacheFileFolderPath =
_cacheDirectory
;
904
t.CacheFileFolderPath =
_cacheDirectory
;
939
t.CacheFileFolderPath =
_cacheDirectory
;
1004
t.CacheFileFolderPath =
_cacheDirectory
;
1035
t.CacheFileFolderPath =
_cacheDirectory
;
1067
t.CacheFileFolderPath =
_cacheDirectory
;
1098
t.CacheFileFolderPath =
_cacheDirectory
;
1126
t.CacheFileFolderPath =
_cacheDirectory
;
1155
t.CacheFileFolderPath =
_cacheDirectory
;
1182
t.CacheFileFolderPath =
_cacheDirectory
;
1210
t.CacheFileFolderPath =
_cacheDirectory
;
1255
t.CacheFileFolderPath =
_cacheDirectory
;
1297
t.CacheFileFolderPath =
_cacheDirectory
;
1343
t.CacheFileFolderPath =
_cacheDirectory
;