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