1 write to _buildEnvironment
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
16
_buildEnvironment
= buildEnv ?? BuildEnvironment.ForDefaultFramework;
6 references to _buildEnvironment
Aspire.Workload.Tests (6)
tests\Shared\WorkloadTesting\DotNetCommand.cs (2)
20
WithEnvironmentVariables(
_buildEnvironment
.EnvVars);
26
? $"{string.Join(" ", args)} {
_buildEnvironment
.DefaultBuildArgs}"
tests\Shared\WorkloadTesting\DotNetNewCommand.cs (1)
20
string? hiveDir = hiveDirectory ??
_buildEnvironment
.TemplatesCustomHive?.CustomHiveDirectory;
tests\Shared\WorkloadTesting\RunCommand.cs (3)
12
WithEnvironmentVariables(
_buildEnvironment
.EnvVars);
13
WithEnvironmentVariable("DOTNET_ROOT", Path.GetDirectoryName(
_buildEnvironment
.DotNet)!);
14
WithEnvironmentVariable("DOTNET_INSTALL_DIR", Path.GetDirectoryName(
_buildEnvironment
.DotNet)!);