1 write to _env
Microsoft.Build.Engine.UnitTests (1)
ProjectCache\ProjectCacheTests.cs (1)
37
_env
= TestEnvironment.Create(output);
42 references to _env
Microsoft.Build.Engine.UnitTests (42)
ProjectCache\ProjectCacheTests.cs (42)
40
_env
.WithInvariant(new CustomConditionInvariant(() => BuildManager.ProjectCacheDescriptors.IsEmpty));
45
_env
.Dispose();
460
var graph = testData.CreateGraph(
_env
);
471
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
486
var graph = testData.CreateGraph(
_env
);
499
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
574
graph = testData.CreateGraph(
_env
);
581
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
685
var graph = testData.CreateGraph(
_env
);
695
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
743
var graph = testData.CreateGraph(
_env
);
754
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
763
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
876
var project1 =
_env
.CreateFile("1.proj", @"
883
_env
.CreateFile("2.proj", @"
894
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
918
var graph = testData.CreateGraph(
_env
);
927
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
949
var graph = testData.CreateGraph(
_env
);
953
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
994
var graph = testData.CreateGraph(
_env
);
1004
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1025
_env
,
1044
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1057
_env
,
1076
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
1113
var project =
_env
.CreateFile("1.proj", @$"
1126
_env
,
1233
_env
,
1249
_env
,
1330
var project =
_env
.CreateFile(
1349
using var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters);
1371
var graph = testData.CreateGraph(
_env
);
1405
using var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters);
1464
var graph = testData.CreateGraph(
_env
);
1479
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1527
var graph = testData.CreateGraph(
_env
);
1540
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1583
.Select(i =>
_env
.CreateFile($"project{i}.proj", project).Path)
1616
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1657
_env
.SetEnvironmentVariable(exceptionLocation, errorKind.ToString());
1669
var directory =
_env
.CreateFolder();