21 references to EnvironmentVariables
csc (2)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (2)
664startInfo.EnvironmentVariables.Clear(); 667startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
dotnet-format (1)
Utilities\ProcessRunner.cs (1)
186processStartInfo.EnvironmentVariables[pair.Key] = pair.Value;
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
48processStartInfo.EnvironmentVariables[key] = value;
Microsoft.AspNetCore.Server.IntegrationTesting (4)
src\aspnetcore\src\Shared\Process\ProcessEx.cs (4)
126startInfo.EnvironmentVariables[envVar.Key] = envVar.Value; 132startInfo.EnvironmentVariables.Remove(envVarToRemove); 135startInfo.EnvironmentVariables["NUGET_PACKAGES"] = NuGetPackagesRestorePath; 139startInfo.EnvironmentVariables["NUGET_FALLBACK_PACKAGES"] = Environment.GetEnvironmentVariable("NUGET_FALLBACK_PACKAGES");
Microsoft.Build.Framework (1)
MultiThreadedTaskEnvironmentDriver.cs (1)
235startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
Microsoft.Build.Tasks.CodeAnalysis (2)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (2)
664startInfo.EnvironmentVariables.Clear(); 667startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
Microsoft.CodeAnalysis.BuildClient.Package (2)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (2)
664startInfo.EnvironmentVariables.Clear(); 667startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
48processStartInfo.EnvironmentVariables[key] = value;
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
VsTestConsoleProcessManager.cs (2)
148info.EnvironmentVariables.Clear(); 160info.EnvironmentVariables[envVariable.Key] = envVariable.Value?.ToString();
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
47psi.EnvironmentVariables["LC_ALL"] = "C";
vbc (2)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (2)
664startInfo.EnvironmentVariables.Clear(); 667startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
VBCSCompiler (2)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (2)
664startInfo.EnvironmentVariables.Clear(); 667startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;