1 write to _env
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
87
_env
= TestEnvironment.Create(output);
87 references to _env
Microsoft.Build.Engine.UnitTests (87)
BackEnd\BuildManager_Tests.cs (87)
88
_inProcEnvCheckTransientEnvironmentVariable =
_env
.SetEnvironmentVariable("MSBUILDINPROCENVCHECK", "1");
103
_env
.Dispose();
178
_env
,
336
_env
.ClearTestInvariants();
341
_env
.SetEnvironmentVariable("MSBUILDDEBUGCOMM", "1");
406
RunOutOfProcBuild(_ =>
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1"));
440
_env
.SetEnvironmentVariable("MSBUILDENABLEALLPROPERTYFUNCTIONS", "1");
490
_env
.SetEnvironmentVariable("MSBUILDENABLEALLPROPERTYFUNCTIONS", "1");
567
_env
.SetEnvironmentVariable("MSBuildForwardPropertiesFromChild", "InitialProperty2;IAMNOTREAL");
606
_env
.SetEnvironmentVariable("MsBuildForwardAllPropertiesFromChild", "InitialProperty2;IAMNOTREAL");
647
_env
.SetEnvironmentVariable("MsBuildForwardAllPropertiesFromChild", "InitialProperty2;IAMNOTREAL");
648
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "Something");
695
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "InitialProperty3;IAMNOTREAL");
696
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
701
_env
.SetEnvironmentVariable("MSBUILDLOGPROPERTIESANDITEMSAFTEREVALUATION", "0");
741
string tempProject =
_env
.CreateFile(".proj").Path;
768
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "InitialProperty3;IAMNOTREAL");
769
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
771
_env
.SetEnvironmentVariable("MSBUILDLOGPROPERTIESANDITEMSAFTEREVALUATION", "0");
830
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", "");
831
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
894
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
928
_env
.SetEnvironmentVariable("MsBuildForwardPropertiesFromChild", null);
929
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
982
_env
,
990
var result = buildManagerSession.BuildProjectFile(
_env
.CreateFile("build.proj", contents).Path);
1876
var projectFolder =
_env
.CreateFolder();
1877
string projectFile =
_env
.CreateFile(projectFolder, ".proj").Path;
1880
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
2008
string p2pProject =
_env
.CreateFile(".Project2.proj").Path;
2094
string importedProjectPath =
_env
.CreateFile(".proj").Path;
2095
string rootProjectPath =
_env
.CreateFile(".proj").Path;
2195
string fileName =
_env
.CreateFile(".proj").Path;
2223
_env
.CreateFile(data.ProjectFullPath, data.ProjectInstance.ToProjectRootElement().RawXml);
2263
string fileName =
_env
.CreateFile(".proj").Path;
2314
string fileName =
_env
.CreateFile(".proj").Path;
2341
_env
.SetEnvironmentVariable("MSBUILDDEBUGFORCECACHING", "1");
2382
var projA =
_env
.CreateFile(".proj").Path;
2383
var projB =
_env
.CreateFile(".proj").Path;
2431
var projA =
_env
.CreateFile(".proj").Path;
2432
var projB =
_env
.CreateFile(".proj").Path;
2497
var projA =
_env
.CreateFile(".proj").Path;
2498
var projB =
_env
.CreateFile(".proj").Path;
2547
var projA =
_env
.CreateFile(".proj").Path;
2548
var projB =
_env
.CreateFile(".proj").Path;
2599
var projA =
_env
.CreateFile(".proj").Path;
2600
var projB =
_env
.CreateFile(".proj").Path;
2601
var projC =
_env
.CreateFile(".proj").Path;
2602
var projD =
_env
.CreateFile(".proj").Path;
2694
var projA =
_env
.CreateFile(".proj").Path;
2695
var projB =
_env
.CreateFile(".proj").Path;
2696
var projC =
_env
.CreateFile(".proj").Path;
2773
var projA =
_env
.CreateFile(".proj").Path;
2774
var projB =
_env
.CreateFile(".proj").Path;
2775
var projC =
_env
.CreateFile(".proj").Path;
2888
var projA =
_env
.CreateFile(".proj").Path;
2889
var projB =
_env
.CreateFile(".proj").Path;
2890
var projC =
_env
.CreateFile(".proj").Path;
2974
var projA =
_env
.CreateFile(".proj").Path;
2975
var projB =
_env
.CreateFile(".proj").Path;
2976
var projC =
_env
.CreateFile(".proj").Path;
3043
var projA =
_env
.CreateFile(".proj").Path;
3044
var projB =
_env
.CreateFile(".proj").Path;
3118
var projectPath1 =
_env
.CreateFile(".proj").Path;
3123
var projectPath2 =
_env
.CreateFile(".proj").Path;
3186
var projectPath1 =
_env
.CreateFile(".proj").Path;
3201
var projectPath2 =
_env
.CreateFile(".proj").Path;
3271
string projectPath1 =
_env
.CreateFile(".proj").Path;
3286
var projectPath2 =
_env
.CreateFile(".proj").Path;
3369
string fileName =
_env
.CreateFile(".proj").Path;
3587
var projectFilePath =
_env
.CreateFile().Path;
3600
project.FullPath =
_env
.CreateFile().Path;
3777
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "p2p" }, string.Empty);
3845
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "import" }, string.Empty);
3932
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "child1", "child2" }, string.Empty);
4162
_env
.SetEnvironmentVariable("MSBUILDNODECONNECTIONTIMEOUT", "0");
4183
string project1 =
_env
.CreateFile(".proj").Path;
4184
string project2 =
_env
.CreateFile(".proj").Path;
4224
string project1 =
_env
.CreateFile(".proj").Path;
4225
string project2 =
_env
.CreateFile(".proj").Path;
4226
string project3 =
_env
.CreateFile(".proj").Path;
4266
string project1 =
_env
.CreateFile(".proj").Path;
4267
string project2 =
_env
.CreateFile(".proj").Path;
4309
string project1 =
_env
.CreateFile(".proj").Path;
4310
string project2 =
_env
.CreateFile(".proj").Path;
4345
var graph = Helpers.CreateProjectGraph(env:
_env
, dependencyEdges: new Dictionary<int, int[]> { { 1, new[] { 2, 3 } } });
4349
using (var buildSession = new Helpers.BuildManagerSession(
_env
))