1 write to _env
Microsoft.Build.CommandLine.UnitTests (1)
MSBuildServer_Tests.cs (1)
87
_env
= TestEnvironment.Create(_output);
29 references to _env
Microsoft.Build.CommandLine.UnitTests (29)
MSBuildServer_Tests.cs (29)
90
public void Dispose() =>
_env
.Dispose();
95
TransientTestFile project =
_env
.CreateFile("testProject.proj", printPidContents);
96
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
111
TransientTestFile markerFile =
_env
.ExpectFile();
125
TransientTestFile sleepProject =
_env
.CreateFile("napProject.proj", string.Format(sleepingTaskContentsFormat, markerFile.Path));
135
_env
.WithTransientProcess(newServerProcessId);
144
TransientTestFile project =
_env
.CreateFile("testProject.proj", printPidContents);
145
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
152
_env
.WithTransientProcess(pidOfServerProcess);
173
_env
.WithTransientProcess(pidOfNewserverProcess);
180
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
181
TransientTestFile project =
_env
.CreateFile("testProject.proj", printPidContents);
183
TransientTestFile markerFile =
_env
.ExpectFile();
184
TransientTestFile sleepProject =
_env
.CreateFile("napProject.proj", string.Format(sleepingTaskContentsFormat, markerFile.Path));
191
_env
.WithTransientProcess(pidOfServerProcess);
229
_env
.Dispose();
239
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
241
TransientTestFile project =
_env
.CreateFile("testProject.proj", printPidContents);
247
_env
.WithTransientProcess(pidOfServerProcess);
278
TransientTestFile project =
_env
.CreateFile("testProject.proj", printPidContents);
279
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
291
TransientTestFile project =
_env
.CreateFile("testProject.proj", printPidContents);
292
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
307
_env
.WithTransientDebugEngineForNewProcesses(true);
321
TransientTestFile project =
_env
.CreateFile("testProject.proj", reportMSBuildStartupDirectoryProperty);
322
_env
.SetEnvironmentVariable("MSBUILDUSESERVER", "1");
328
_env
.WithTransientProcess(pidOfServerProcess);
332
_env
.SetCurrentDirectory(Path.GetDirectoryName(project.Path));
338
_env
.WithTransientProcess(pidOfNewServerProcess);