1 write to _env
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
86
_env
= TestEnvironment.Create(output);
87 references to _env
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BuildManager_Tests.cs (87)
87
_inProcEnvCheckTransientEnvironmentVariable =
_env
.SetEnvironmentVariable("MSBUILDINPROCENVCHECK", "1");
102
_env
.Dispose();
177
_env
,
335
_env
.ClearTestInvariants();
340
_env
.SetEnvironmentVariable("MSBUILDDEBUGCOMM", "1");
405
RunOutOfProcBuild(_ =>
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1"));
439
_env
.SetEnvironmentVariable("MSBUILDENABLEALLPROPERTYFUNCTIONS", "1");
489
_env
.SetEnvironmentVariable("MSBUILDENABLEALLPROPERTYFUNCTIONS", "1");
566
_env
.SetEnvironmentVariable("MSBuildForwardPropertiesFromChild", "InitialProperty2;IAMNOTREAL");
605
_env
.SetEnvironmentVariable("MsBuildForwardAllPropertiesFromChild", "InitialProperty2;IAMNOTREAL");
646
_env
.SetEnvironmentVariable("MsBuildForwardAllPropertiesFromChild", "InitialProperty2;IAMNOTREAL");
647
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "Something");
694
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "InitialProperty3;IAMNOTREAL");
695
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
700
_env
.SetEnvironmentVariable("MSBUILDLOGPROPERTIESANDITEMSAFTEREVALUATION", "0");
740
string tempProject =
_env
.CreateFile(".proj").Path;
767
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "InitialProperty3;IAMNOTREAL");
768
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
770
_env
.SetEnvironmentVariable("MSBUILDLOGPROPERTIESANDITEMSAFTEREVALUATION", "0");
829
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "");
830
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
893
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
927
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", null);
928
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
981
_env
,
989
var result = buildManagerSession.BuildProjectFile(
_env
.CreateFile("build.proj", contents).Path);
1875
var projectFolder =
_env
.CreateFolder();
1876
string projectFile =
_env
.CreateFile(projectFolder, ".proj").Path;
1879
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
2007
string p2pProject =
_env
.CreateFile(".Project2.proj").Path;
2093
string importedProjectPath =
_env
.CreateFile(".proj").Path;
2094
string rootProjectPath =
_env
.CreateFile(".proj").Path;
2194
string fileName =
_env
.CreateFile(".proj").Path;
2222
_env
.CreateFile(data.ProjectFullPath, data.ProjectInstance.ToProjectRootElement().RawXml);
2262
string fileName =
_env
.CreateFile(".proj").Path;
2313
string fileName =
_env
.CreateFile(".proj").Path;
2340
_env
.SetEnvironmentVariable("MSBUILDDEBUGFORCECACHING", "1");
2381
var projA =
_env
.CreateFile(".proj").Path;
2382
var projB =
_env
.CreateFile(".proj").Path;
2430
var projA =
_env
.CreateFile(".proj").Path;
2431
var projB =
_env
.CreateFile(".proj").Path;
2496
var projA =
_env
.CreateFile(".proj").Path;
2497
var projB =
_env
.CreateFile(".proj").Path;
2546
var projA =
_env
.CreateFile(".proj").Path;
2547
var projB =
_env
.CreateFile(".proj").Path;
2598
var projA =
_env
.CreateFile(".proj").Path;
2599
var projB =
_env
.CreateFile(".proj").Path;
2600
var projC =
_env
.CreateFile(".proj").Path;
2601
var projD =
_env
.CreateFile(".proj").Path;
2693
var projA =
_env
.CreateFile(".proj").Path;
2694
var projB =
_env
.CreateFile(".proj").Path;
2695
var projC =
_env
.CreateFile(".proj").Path;
2772
var projA =
_env
.CreateFile(".proj").Path;
2773
var projB =
_env
.CreateFile(".proj").Path;
2774
var projC =
_env
.CreateFile(".proj").Path;
2887
var projA =
_env
.CreateFile(".proj").Path;
2888
var projB =
_env
.CreateFile(".proj").Path;
2889
var projC =
_env
.CreateFile(".proj").Path;
2973
var projA =
_env
.CreateFile(".proj").Path;
2974
var projB =
_env
.CreateFile(".proj").Path;
2975
var projC =
_env
.CreateFile(".proj").Path;
3042
var projA =
_env
.CreateFile(".proj").Path;
3043
var projB =
_env
.CreateFile(".proj").Path;
3117
var projectPath1 =
_env
.CreateFile(".proj").Path;
3122
var projectPath2 =
_env
.CreateFile(".proj").Path;
3185
var projectPath1 =
_env
.CreateFile(".proj").Path;
3200
var projectPath2 =
_env
.CreateFile(".proj").Path;
3270
string projectPath1 =
_env
.CreateFile(".proj").Path;
3285
var projectPath2 =
_env
.CreateFile(".proj").Path;
3368
string fileName =
_env
.CreateFile(".proj").Path;
3586
var projectFilePath =
_env
.CreateFile().Path;
3599
project.FullPath =
_env
.CreateFile().Path;
3776
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "p2p" }, string.Empty);
3844
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "import" }, string.Empty);
3931
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "child1", "child2" }, string.Empty);
4161
_env
.SetEnvironmentVariable("MSBUILDNODECONNECTIONTIMEOUT", "0");
4182
string project1 =
_env
.CreateFile(".proj").Path;
4183
string project2 =
_env
.CreateFile(".proj").Path;
4223
string project1 =
_env
.CreateFile(".proj").Path;
4224
string project2 =
_env
.CreateFile(".proj").Path;
4225
string project3 =
_env
.CreateFile(".proj").Path;
4265
string project1 =
_env
.CreateFile(".proj").Path;
4266
string project2 =
_env
.CreateFile(".proj").Path;
4308
string project1 =
_env
.CreateFile(".proj").Path;
4309
string project2 =
_env
.CreateFile(".proj").Path;
4344
var graph = Helpers.CreateProjectGraph(env:
_env
, dependencyEdges: new Dictionary<int, int[]> { { 1, new[] { 2, 3 } } });
4348
using (var buildSession = new Helpers.BuildManagerSession(
_env
))