41 references to _cacheDirectory
Microsoft.Build.Tasks.UnitTests (41)
GetSDKReference_Tests.cs (41)
202
if (FileUtilities.DirectoryExistsNoThrow(
_cacheDirectory
))
204
_output.WriteLine($"Found existing cache directory {
_cacheDirectory
}; deleting it.");
205
FileUtilities.DeleteDirectoryNoThrow(
_cacheDirectory
, true);
208
Directory.CreateDirectory(
_cacheDirectory
);
210
_output.WriteLine($"Created cache directory {
_cacheDirectory
}.");
215
if (FileUtilities.DirectoryExistsNoThrow(
_cacheDirectory
))
217
_output.WriteLine($"Deleting cache directory {
_cacheDirectory
}.");
218
FileUtilities.DeleteDirectoryNoThrow(
_cacheDirectory
, true);
240
CacheFileFolderPath =
_cacheDirectory
,
352
t.CacheFileFolderPath =
_cacheDirectory
;
370
t.CacheFileFolderPath =
_cacheDirectory
;
395
t.CacheFileFolderPath =
_cacheDirectory
;
421
t.CacheFileFolderPath =
_cacheDirectory
;
486
t.CacheFileFolderPath =
_cacheDirectory
;
513
t.CacheFileFolderPath =
_cacheDirectory
;
524
t.CacheFileFolderPath =
_cacheDirectory
;
543
CacheFileFolderPath =
_cacheDirectory
597
t.CacheFileFolderPath =
_cacheDirectory
;
615
string[] existingCacheFiles = Directory.GetFiles(
_cacheDirectory
, cacheFile);
620
t2.CacheFileFolderPath =
_cacheDirectory
;
644
string[] existingCacheFiles2 = Directory.GetFiles(
_cacheDirectory
, cacheFile);
649
string[] allCacheFiles = Directory.GetFiles(
_cacheDirectory
, sdkIdentity2 + ",Set=" + FileUtilities.GetHexHash(sdkIdentity2) + "*");
663
t.CacheFileFolderPath =
_cacheDirectory
;
711
t.CacheFileFolderPath =
_cacheDirectory
;
756
t.CacheFileFolderPath =
_cacheDirectory
;
779
t.CacheFileFolderPath =
_cacheDirectory
;
804
t.CacheFileFolderPath =
_cacheDirectory
;
855
t.CacheFileFolderPath =
_cacheDirectory
;
906
t.CacheFileFolderPath =
_cacheDirectory
;
941
t.CacheFileFolderPath =
_cacheDirectory
;
1006
t.CacheFileFolderPath =
_cacheDirectory
;
1037
t.CacheFileFolderPath =
_cacheDirectory
;
1069
t.CacheFileFolderPath =
_cacheDirectory
;
1100
t.CacheFileFolderPath =
_cacheDirectory
;
1128
t.CacheFileFolderPath =
_cacheDirectory
;
1157
t.CacheFileFolderPath =
_cacheDirectory
;
1184
t.CacheFileFolderPath =
_cacheDirectory
;
1212
t.CacheFileFolderPath =
_cacheDirectory
;
1257
t.CacheFileFolderPath =
_cacheDirectory
;
1299
t.CacheFileFolderPath =
_cacheDirectory
;
1345
t.CacheFileFolderPath =
_cacheDirectory
;