2 writes to NuGetPackagesPath
Aspire.Workload.Tests (2)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (2)
143
NuGetPackagesPath
= UsesCustomDotNet ? Path.Combine(AppContext.BaseDirectory, $"nuget-cache-{Guid.NewGuid()}") : null;
261
NuGetPackagesPath
= otherBuildEnvironment.NuGetPackagesPath;
9 references to NuGetPackagesPath
Aspire.Workload.Tests (9)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (9)
153
EnvVars["NUGET_PACKAGES"] =
NuGetPackagesPath
!;
194
Console.WriteLine($"*** Using NuGet cache: {
NuGetPackagesPath
}");
195
if (Directory.Exists(
NuGetPackagesPath
))
197
Directory.Delete(
NuGetPackagesPath
, recursive: true);
202
if (
NuGetPackagesPath
is not null && Directory.Exists(
NuGetPackagesPath
))
204
foreach (var dir in Directory.GetDirectories(
NuGetPackagesPath
, "aspire*"))
209
Console.WriteLine($"*** Using NuGet cache (never deleted automatically): {
NuGetPackagesPath
}");
261
NuGetPackagesPath = otherBuildEnvironment.
NuGetPackagesPath
;