41 references to _cacheDirectory
Microsoft.Build.Tasks.UnitTests (41)
GetSDKReference_Tests.cs (41)
199
if (FileUtilities.DirectoryExistsNoThrow(
_cacheDirectory
))
201
_output.WriteLine($"Found existing cache directory {
_cacheDirectory
}; deleting it.");
202
FileUtilities.DeleteDirectoryNoThrow(
_cacheDirectory
, true);
205
Directory.CreateDirectory(
_cacheDirectory
);
207
_output.WriteLine($"Created cache directory {
_cacheDirectory
}.");
212
if (FileUtilities.DirectoryExistsNoThrow(
_cacheDirectory
))
214
_output.WriteLine($"Deleting cache directory {
_cacheDirectory
}.");
215
FileUtilities.DeleteDirectoryNoThrow(
_cacheDirectory
, true);
237
CacheFileFolderPath =
_cacheDirectory
,
349
t.CacheFileFolderPath =
_cacheDirectory
;
367
t.CacheFileFolderPath =
_cacheDirectory
;
392
t.CacheFileFolderPath =
_cacheDirectory
;
418
t.CacheFileFolderPath =
_cacheDirectory
;
483
t.CacheFileFolderPath =
_cacheDirectory
;
510
t.CacheFileFolderPath =
_cacheDirectory
;
521
t.CacheFileFolderPath =
_cacheDirectory
;
540
CacheFileFolderPath =
_cacheDirectory
594
t.CacheFileFolderPath =
_cacheDirectory
;
612
string[] existingCacheFiles = Directory.GetFiles(
_cacheDirectory
, cacheFile);
617
t2.CacheFileFolderPath =
_cacheDirectory
;
641
string[] existingCacheFiles2 = Directory.GetFiles(
_cacheDirectory
, cacheFile);
646
string[] allCacheFiles = Directory.GetFiles(
_cacheDirectory
, sdkIdentity2 + ",Set=" + FileUtilities.GetHexHash(sdkIdentity2) + "*");
660
t.CacheFileFolderPath =
_cacheDirectory
;
708
t.CacheFileFolderPath =
_cacheDirectory
;
753
t.CacheFileFolderPath =
_cacheDirectory
;
776
t.CacheFileFolderPath =
_cacheDirectory
;
801
t.CacheFileFolderPath =
_cacheDirectory
;
852
t.CacheFileFolderPath =
_cacheDirectory
;
903
t.CacheFileFolderPath =
_cacheDirectory
;
938
t.CacheFileFolderPath =
_cacheDirectory
;
1003
t.CacheFileFolderPath =
_cacheDirectory
;
1034
t.CacheFileFolderPath =
_cacheDirectory
;
1066
t.CacheFileFolderPath =
_cacheDirectory
;
1097
t.CacheFileFolderPath =
_cacheDirectory
;
1125
t.CacheFileFolderPath =
_cacheDirectory
;
1154
t.CacheFileFolderPath =
_cacheDirectory
;
1181
t.CacheFileFolderPath =
_cacheDirectory
;
1209
t.CacheFileFolderPath =
_cacheDirectory
;
1254
t.CacheFileFolderPath =
_cacheDirectory
;
1296
t.CacheFileFolderPath =
_cacheDirectory
;
1342
t.CacheFileFolderPath =
_cacheDirectory
;