27 references to EnvironmentVariables
aspire (11)
DotNet\DotNetCliExecutionFactory.cs (10)
57startInfo.EnvironmentVariables[envKvp.Key] = envKvp.Value; 70startInfo.EnvironmentVariables[KnownConfigNames.CliProcessId] = GetCurrentProcessId().ToString(CultureInfo.InvariantCulture); 74startInfo.EnvironmentVariables[KnownConfigNames.CliProcessStarted] = GetCurrentProcessStartTimeUnixSeconds().ToString(CultureInfo.InvariantCulture); 77startInfo.EnvironmentVariables[KnownConfigNames.MsBuildTerminalLogger] = "false"; 80startInfo.EnvironmentVariables["DOTNET_NOLOGO"] = "1"; 89startInfo.EnvironmentVariables[KnownConfigNames.DebugSessionInfo] = debugSessionInfo; 118startInfo.EnvironmentVariables["DOTNET_ROOT"] = sdkInstallPath; 121startInfo.EnvironmentVariables["DOTNET_MULTILEVEL_LOOKUP"] = "0"; 124var currentPath = startInfo.EnvironmentVariables["PATH"] ?? Environment.GetEnvironmentVariable("PATH") ?? string.Empty; 125startInfo.EnvironmentVariables["PATH"] = $"{sdkInstallPath}{Path.PathSeparator}{currentPath}";
Projects\ProcessGuestLauncher.cs (1)
63startInfo.EnvironmentVariables[key] = value;
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
224psi.EnvironmentVariables.Remove("MSBuildSDKsPath");
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
224psi.EnvironmentVariables.Remove("MSBuildSDKsPath");
csc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
638startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
dotnet (1)
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.8.0-1.26268.104\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
638startInfo.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.Build.Framework (1)
MultiThreadedTaskEnvironmentDriver.cs (1)
122startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
638startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
48processStartInfo.EnvironmentVariables[key] = value;
Microsoft.McpServer.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
48processStartInfo.EnvironmentVariables[key] = value;
Microsoft.TestPlatform.PlatformAbstractions (1)
common\System\ProcessHelper.cs (1)
103process.StartInfo.EnvironmentVariables.Clear();
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 (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
638startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
638startInfo.EnvironmentVariables[kvp.Key] = kvp.Value;