12 references to SetEnvironmentVariable
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1168
_requestEntry.TaskEnvironment.
SetEnvironmentVariable
(environmentProperty.Name, environmentProperty.EvaluatedValue);
Microsoft.Build.CommandLine.UnitTests (1)
MSBuildMultithreaded_Tests.cs (1)
69
TaskEnvironment.
SetEnvironmentVariable
(envVarName, envVarValue);
Microsoft.Build.Engine.UnitTests (10)
BackEnd\TaskEnvironment_Tests.cs (10)
94
taskEnvironment.
SetEnvironmentVariable
(testVarName, testVarValue);
120
taskEnvironment.
SetEnvironmentVariable
(testVarName, testVarValue);
123
taskEnvironment.
SetEnvironmentVariable
(testVarName, null);
150
taskEnvironment.
SetEnvironmentVariable
(var1Name, "initial_value1");
151
taskEnvironment.
SetEnvironmentVariable
(var2Name, "initial_value2");
275
taskEnvironment.
SetEnvironmentVariable
(testVarName, testVarValue);
314
stubEnvironment.
SetEnvironmentVariable
(testVarName, testVarValue);
321
stubEnvironment.
SetEnvironmentVariable
(testVarName, null);
350
multithreadedEnvironment.
SetEnvironmentVariable
(testVarName, testVarValue);
449
env1.
SetEnvironmentVariable
(testVarName, "only_in_env1");