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"); 406RunOutOfProcBuild(_ => _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"); 741string 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, 990var result = buildManagerSession.BuildProjectFile(_env.CreateFile("build.proj", contents).Path); 1876var projectFolder = _env.CreateFolder(); 1877string projectFile = _env.CreateFile(projectFolder, ".proj").Path; 1880_env.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1"); 2008string p2pProject = _env.CreateFile(".Project2.proj").Path; 2094string importedProjectPath = _env.CreateFile(".proj").Path; 2095string rootProjectPath = _env.CreateFile(".proj").Path; 2195string fileName = _env.CreateFile(".proj").Path; 2223_env.CreateFile(data.ProjectFullPath, data.ProjectInstance.ToProjectRootElement().RawXml); 2263string fileName = _env.CreateFile(".proj").Path; 2314string fileName = _env.CreateFile(".proj").Path; 2341_env.SetEnvironmentVariable("MSBUILDDEBUGFORCECACHING", "1"); 2382var projA = _env.CreateFile(".proj").Path; 2383var projB = _env.CreateFile(".proj").Path; 2431var projA = _env.CreateFile(".proj").Path; 2432var projB = _env.CreateFile(".proj").Path; 2497var projA = _env.CreateFile(".proj").Path; 2498var projB = _env.CreateFile(".proj").Path; 2547var projA = _env.CreateFile(".proj").Path; 2548var projB = _env.CreateFile(".proj").Path; 2599var projA = _env.CreateFile(".proj").Path; 2600var projB = _env.CreateFile(".proj").Path; 2601var projC = _env.CreateFile(".proj").Path; 2602var projD = _env.CreateFile(".proj").Path; 2694var projA = _env.CreateFile(".proj").Path; 2695var projB = _env.CreateFile(".proj").Path; 2696var projC = _env.CreateFile(".proj").Path; 2773var projA = _env.CreateFile(".proj").Path; 2774var projB = _env.CreateFile(".proj").Path; 2775var projC = _env.CreateFile(".proj").Path; 2888var projA = _env.CreateFile(".proj").Path; 2889var projB = _env.CreateFile(".proj").Path; 2890var projC = _env.CreateFile(".proj").Path; 2974var projA = _env.CreateFile(".proj").Path; 2975var projB = _env.CreateFile(".proj").Path; 2976var projC = _env.CreateFile(".proj").Path; 3043var projA = _env.CreateFile(".proj").Path; 3044var projB = _env.CreateFile(".proj").Path; 3118var projectPath1 = _env.CreateFile(".proj").Path; 3123var projectPath2 = _env.CreateFile(".proj").Path; 3186var projectPath1 = _env.CreateFile(".proj").Path; 3201var projectPath2 = _env.CreateFile(".proj").Path; 3271string projectPath1 = _env.CreateFile(".proj").Path; 3286var projectPath2 = _env.CreateFile(".proj").Path; 3369string fileName = _env.CreateFile(".proj").Path; 3587var projectFilePath = _env.CreateFile().Path; 3600project.FullPath = _env.CreateFile().Path; 3777var testFiles = _env.CreateTestProjectWithFiles(string.Empty, new[] { "main", "p2p" }, string.Empty); 3845var testFiles = _env.CreateTestProjectWithFiles(string.Empty, new[] { "main", "import" }, string.Empty); 3932var testFiles = _env.CreateTestProjectWithFiles(string.Empty, new[] { "main", "child1", "child2" }, string.Empty); 4162_env.SetEnvironmentVariable("MSBUILDNODECONNECTIONTIMEOUT", "0"); 4183string project1 = _env.CreateFile(".proj").Path; 4184string project2 = _env.CreateFile(".proj").Path; 4224string project1 = _env.CreateFile(".proj").Path; 4225string project2 = _env.CreateFile(".proj").Path; 4226string project3 = _env.CreateFile(".proj").Path; 4266string project1 = _env.CreateFile(".proj").Path; 4267string project2 = _env.CreateFile(".proj").Path; 4309string project1 = _env.CreateFile(".proj").Path; 4310string project2 = _env.CreateFile(".proj").Path; 4345var graph = Helpers.CreateProjectGraph(env: _env, dependencyEdges: new Dictionary<int, int[]> { { 1, new[] { 2, 3 } } }); 4349using (var buildSession = new Helpers.BuildManagerSession(_env))