1 write to _env
Microsoft.Build.Engine.UnitTests (1)
ProjectCache\ProjectCacheTests.cs (1)
34
_env
= TestEnvironment.Create(output);
41 references to _env
Microsoft.Build.Engine.UnitTests (41)
ProjectCache\ProjectCacheTests.cs (41)
37
_env
.WithInvariant(new CustomConditionInvariant(() => BuildManager.ProjectCacheDescriptors.IsEmpty));
42
_env
.Dispose();
457
var graph = testData.CreateGraph(
_env
);
468
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
483
var graph = testData.CreateGraph(
_env
);
496
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
571
graph = testData.CreateGraph(
_env
);
578
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
682
var graph = testData.CreateGraph(
_env
);
692
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
740
var graph = testData.CreateGraph(
_env
);
751
_env
.SetEnvironmentVariable("MSBUILDNOINPROCNODE", "1");
760
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
873
var project1 =
_env
.CreateFile("1.proj", @"
880
_env
.CreateFile("2.proj", @"
891
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
915
var graph = testData.CreateGraph(
_env
);
924
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
946
var graph = testData.CreateGraph(
_env
);
950
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
991
var graph = testData.CreateGraph(
_env
);
1001
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1022
_env
,
1041
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1054
_env
,
1073
using (var buildSession = new Helpers.BuildManagerSession(
_env
))
1110
var project =
_env
.CreateFile("1.proj", @$"
1123
_env
,
1230
_env
,
1246
_env
,
1327
var project =
_env
.CreateFile(
1346
using var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters);
1368
var graph = testData.CreateGraph(
_env
);
1402
using var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters);
1461
var graph = testData.CreateGraph(
_env
);
1476
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1524
var graph = testData.CreateGraph(
_env
);
1537
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1580
.Select(i =>
_env
.CreateFile($"project{i}.proj", project).Path)
1613
using (var buildSession = new Helpers.BuildManagerSession(
_env
, buildParameters))
1654
_env
.SetEnvironmentVariable(exceptionLocation, errorKind.ToString());