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