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