2 writes to EnvVars
Aspire.Workload.Tests (2)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (2)
143
EnvVars
= new Dictionary<string, string>();
256
EnvVars
= new Dictionary<string, string>(otherBuildEnvironment.EnvVars);
17 references to EnvVars
Aspire.Workload.Tests (17)
BuildAndRunTemplateTests.cs (1)
150
testSpecificBuildEnvironment.
EnvVars
["ASPIRE_ALLOW_UNSECURED_TRANSPORT"] = "true";
tests\Shared\WorkloadTesting\AspireProject.cs (1)
171
foreach (var item in _buildEnv.
EnvVars
)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (13)
146
EnvVars
["DOTNET_ROOT"] = sdkForWorkloadPath;
147
EnvVars
["DOTNET_INSTALL_DIR"] = sdkForWorkloadPath;
148
EnvVars
["DOTNET_MULTILEVEL_LOOKUP"] = "0";
149
EnvVars
["DOTNET_SKIP_FIRST_TIME_EXPERIENCE"] = "1";
150
EnvVars
["PATH"] = $"{sdkForWorkloadPath}{Path.PathSeparator}{Environment.GetEnvironmentVariable("PATH")}";
152
EnvVars
["NUGET_PACKAGES"] = NuGetPackagesPath!;
153
EnvVars
["BUILT_NUGETS_PATH"] = BuiltNuGetsPath;
154
EnvVars
["TreatWarningsAsErrors"] = "true";
157
EnvVars
["DEBUG_SESSION_PORT"] = "";
160
EnvVars
["_MSBUILDTLENABLED"] = "0";
162
EnvVars
["VsTestUseMSBuildOutput"] = "false";
163
EnvVars
["SkipAspireWorkloadManifest"] = "true";
256
EnvVars = new Dictionary<string, string>(otherBuildEnvironment.
EnvVars
);
tests\Shared\WorkloadTesting\DotNetCommand.cs (1)
20
WithEnvironmentVariables(_buildEnvironment.
EnvVars
);
tests\Shared\WorkloadTesting\RunCommand.cs (1)
12
WithEnvironmentVariables(_buildEnvironment.
EnvVars
);