1 write to _env
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
87
_env
= TestEnvironment.Create(output);
91 references to _env
Microsoft.Build.Engine.UnitTests (91)
BackEnd\BuildManager_Tests.cs (91)
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);
1877
var projectFolder =
_env
.CreateFolder();
1878
string projectFile =
_env
.CreateFile(projectFolder, ".proj").Path;
1881
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
2009
string p2pProject =
_env
.CreateFile(".Project2.proj").Path;
2095
string importedProjectPath =
_env
.CreateFile(".proj").Path;
2096
string rootProjectPath =
_env
.CreateFile(".proj").Path;
2196
string fileName =
_env
.CreateFile(".proj").Path;
2224
_env
.CreateFile(data.ProjectFullPath, data.ProjectInstance.ToProjectRootElement().RawXml);
2264
string fileName =
_env
.CreateFile(".proj").Path;
2315
string fileName =
_env
.CreateFile(".proj").Path;
2342
_env
.SetEnvironmentVariable("MSBUILDDEBUGFORCECACHING", "1");
2383
var projA =
_env
.CreateFile(".proj").Path;
2384
var projB =
_env
.CreateFile(".proj").Path;
2432
var projA =
_env
.CreateFile(".proj").Path;
2433
var projB =
_env
.CreateFile(".proj").Path;
2498
var projA =
_env
.CreateFile(".proj").Path;
2499
var projB =
_env
.CreateFile(".proj").Path;
2548
var projA =
_env
.CreateFile(".proj").Path;
2549
var projB =
_env
.CreateFile(".proj").Path;
2600
var projA =
_env
.CreateFile(".proj").Path;
2601
var projB =
_env
.CreateFile(".proj").Path;
2602
var projC =
_env
.CreateFile(".proj").Path;
2603
var projD =
_env
.CreateFile(".proj").Path;
2695
var projA =
_env
.CreateFile(".proj").Path;
2696
var projB =
_env
.CreateFile(".proj").Path;
2697
var projC =
_env
.CreateFile(".proj").Path;
2774
var projA =
_env
.CreateFile(".proj").Path;
2775
var projB =
_env
.CreateFile(".proj").Path;
2776
var projC =
_env
.CreateFile(".proj").Path;
2889
var projA =
_env
.CreateFile(".proj").Path;
2890
var projB =
_env
.CreateFile(".proj").Path;
2891
var projC =
_env
.CreateFile(".proj").Path;
2975
var projA =
_env
.CreateFile(".proj").Path;
2976
var projB =
_env
.CreateFile(".proj").Path;
2977
var projC =
_env
.CreateFile(".proj").Path;
3044
var projA =
_env
.CreateFile(".proj").Path;
3045
var projB =
_env
.CreateFile(".proj").Path;
3119
var projectPath1 =
_env
.CreateFile(".proj").Path;
3124
var projectPath2 =
_env
.CreateFile(".proj").Path;
3187
var projectPath1 =
_env
.CreateFile(".proj").Path;
3202
var projectPath2 =
_env
.CreateFile(".proj").Path;
3272
string projectPath1 =
_env
.CreateFile(".proj").Path;
3287
var projectPath2 =
_env
.CreateFile(".proj").Path;
3370
string fileName =
_env
.CreateFile(".proj").Path;
3494
_env
.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, Path.GetTempPath());
3508
TransientTestFile tempFile =
_env
.CreateFile("dotnet.exe", "");
3509
_env
.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, tempFile.Path);
3523
_env
.SetEnvironmentVariable(Constants.DotnetHostPathEnvVarName, null);
3631
var projectFilePath =
_env
.CreateFile().Path;
3644
project.FullPath =
_env
.CreateFile().Path;
3821
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "p2p" }, string.Empty);
3889
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "import" }, string.Empty);
3976
var testFiles =
_env
.CreateTestProjectWithFiles(string.Empty, new[] { "main", "child1", "child2" }, string.Empty);
4206
_env
.SetEnvironmentVariable("MSBUILDNODECONNECTIONTIMEOUT", "0");
4227
string project1 =
_env
.CreateFile(".proj").Path;
4228
string project2 =
_env
.CreateFile(".proj").Path;
4268
string project1 =
_env
.CreateFile(".proj").Path;
4269
string project2 =
_env
.CreateFile(".proj").Path;
4270
string project3 =
_env
.CreateFile(".proj").Path;
4310
string project1 =
_env
.CreateFile(".proj").Path;
4311
string project2 =
_env
.CreateFile(".proj").Path;
4353
string project1 =
_env
.CreateFile(".proj").Path;
4354
string project2 =
_env
.CreateFile(".proj").Path;
4389
var graph = Helpers.CreateProjectGraph(env:
_env
, dependencyEdges: new Dictionary<int, int[]> { { 1, new[] { 2, 3 } } });
4393
using (var buildSession = new Helpers.BuildManagerSession(
_env
))