1 write to _env
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
86
_env
= TestEnvironment.Create(output);
100 references to _env
Microsoft.Build.Engine.UnitTests (100)
BackEnd\BuildManager_Tests.cs (100)
87
_inProcEnvCheckTransientEnvironmentVariable =
_env
.SetEnvironmentVariable("MSBUILDINPROCENVCHECK", "1");
102
_env
.Dispose();
177
_env
,
297
project.FullPath =
_env
.CreateFile(".proj").Path;
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);
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;
3493
_env
.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, Path.GetTempPath());
3507
TransientTestFile tempFile =
_env
.CreateFile("dotnet.exe", "");
3508
_env
.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, tempFile.Path);
3522
_env
.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, null);
3630
var projectFilePath =
_env
.CreateFile().Path;
3643
project.FullPath =
_env
.CreateFile().Path;
3820
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "p2p" }, string.Empty);
3888
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "import" }, string.Empty);
3975
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "child1", "child2" }, string.Empty);
4205
_env
.SetEnvironmentVariable("MSBUILDNODECONNECTIONTIMEOUT", "0");
4226
string project1 =
_env
.CreateFile(".proj").Path;
4227
string project2 =
_env
.CreateFile(".proj").Path;
4267
string project1 =
_env
.CreateFile(".proj").Path;
4268
string project2 =
_env
.CreateFile(".proj").Path;
4269
string project3 =
_env
.CreateFile(".proj").Path;
4309
string project1 =
_env
.CreateFile(".proj").Path;
4310
string project2 =
_env
.CreateFile(".proj").Path;
4352
string project1 =
_env
.CreateFile(".proj").Path;
4353
string project2 =
_env
.CreateFile(".proj").Path;
4388
var graph = Helpers.CreateProjectGraph(env:
_env
, dependencyEdges: new Dictionary<int, int[]> { { 1, new[] { 2, 3 } } });
4392
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
4513
var sharedDep =
_env
.CreateFile(".proj").Path;
4514
var projRoot =
_env
.CreateFile(".proj").Path;
4522
childProjects[i] =
_env
.CreateFile(".proj").Path;
4641
string debugPath =
_env
.CreateFolder().Path;
4642
_env
.SetEnvironmentVariable("MSBUILDDEBUGSCHEDULER", "1");
4643
_env
.SetEnvironmentVariable("MSBUILDDEBUGPATH", debugPath);
4662
childPaths[i] =
_env
.CreateFile(".proj").Path;
4675
string rootPath =
_env
.CreateFile(".proj").Path;