44 references to EnvironmentVariables
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
224psi.EnvironmentVariables.Remove("MSBuildSDKsPath");
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
224psi.EnvironmentVariables.Remove("MSBuildSDKsPath");
HelixTestRunner (2)
ProcessUtil.cs (2)
107process.StartInfo.EnvironmentVariables["COMPlus_DbgEnableMiniDump"] = "1"; 108process.StartInfo.EnvironmentVariables["COMPlus_DbgMiniDumpName"] = Path.Combine(dumpDirectoryPath, $"{Path.GetFileName(filename)}.%d.dmp");
InteropTests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Microsoft.AspNetCore.Server.IntegrationTesting (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Microsoft.AspNetCore.Tests (9)
WebApplicationTests.cs (9)
1010options.StartInfo.EnvironmentVariables.Add("one", "unprefixed_one"); 1011options.StartInfo.EnvironmentVariables.Add("two", "unprefixed_two"); 1012options.StartInfo.EnvironmentVariables.Add("DOTNET_one", "DOTNET_one"); 1013options.StartInfo.EnvironmentVariables.Add("DOTNET_two", "DOTNET_two"); 1014options.StartInfo.EnvironmentVariables.Add("DOTNET_three", "DOTNET_three"); 1015options.StartInfo.EnvironmentVariables.Add("ASPNETCORE_one", "ASPNETCORE_one"); 1016options.StartInfo.EnvironmentVariables.Add("ASPNETCORE_two", "ASPNETCORE_two"); 1017options.StartInfo.EnvironmentVariables.Add("ASPNETCORE_three", "ASPNETCORE_three"); 1018options.StartInfo.EnvironmentVariables.Add("ASPNETCORE_four", "ASPNETCORE_four");
Microsoft.DotNet.Open.Api.Tools.Tests (1)
ProcessEx.cs (1)
72startInfo.EnvironmentVariables[envVar.Key] = envVar.Value;
Microsoft.DotNet.SignTool (3)
src\BatchSignUtil.cs (3)
434string path = processStartInfo.EnvironmentVariables["PATH"]; 436processStartInfo.EnvironmentVariables.Remove("PATH"); 437processStartInfo.EnvironmentVariables.Add("PATH", path);
Microsoft.Extensions.ApiDescription.Client.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
RunTests (1)
ProcessRunner.cs (1)
199processStartInfo.EnvironmentVariables[pair.Key] = pair.Value;
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
47psi.EnvironmentVariables["LC_ALL"] = "C";
System.Windows.Forms.IntegrationTests.Common (1)
TestHelpers.cs (1)
116startInfo.EnvironmentVariables["DOTNET_ROOT"] = dotnetPath;
Templates.Blazor.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Blazor.WebAssembly.Auth.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Blazor.WebAssembly.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Mvc.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Templates.Tests (3)
src\Shared\Process\ProcessEx.cs (3)
118startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 122startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NUGET_PACKAGES; 126startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");