1 write to _env
Microsoft.Build.Engine.UnitTests (1)
Definition\ProjectEvaluationContext_Tests.cs (1)
32
_env
= TestEnvironment.Create();
32 references to _env
Microsoft.Build.Engine.UnitTests (32)
Definition\ProjectEvaluationContext_Tests.cs (32)
44
_env
.Dispose();
100
_env
.CreateFile("1.proj", @"<Project> <PropertyGroup Condition=`Exists('1.file')`></PropertyGroup> </Project>".Cleanup()).Path,
101
_env
.CreateFile("2.proj", @"<Project> <PropertyGroup Condition=`Exists('2.file')`></PropertyGroup> </Project>".Cleanup()).Path
104
var projectCollection =
_env
.CreateProjectCollection().Collection;
123
{Path.Combine(
_env
.DefaultTestDirectory.Path, "1.file"), 1},
124
{Path.Combine(
_env
.DefaultTestDirectory.Path, "2.file"), 1}
144
var projectFile =
_env
.CreateFile("1.proj", @"<Project> <Import Project='1.file' Condition=`Exists('1.file')`/> <ItemGroup><Compile Include='*.cs'/></ItemGroup> </Project>".Cleanup()).Path;
146
var projectCollection =
_env
.CreateProjectCollection().Collection;
181
{
_env
.DefaultTestDirectory.Path, 1},
182
{ Path.Combine(
_env
.DefaultTestDirectory.Path, "1.file"), 2 }
187
{
_env
.DefaultTestDirectory.Path, 1 }
201
var collection =
_env
.CreateProjectCollection().Collection;
241
var collection =
_env
.CreateProjectCollection().Collection;
372
var projectDirectory =
_env
.DefaultTestDirectory.Path;
431
var projectDirectory1 =
_env
.DefaultTestDirectory.CreateDirectory("1").Path;
432
var projectDirectory2 =
_env
.DefaultTestDirectory.CreateDirectory("2").Path;
481
var project1Root =
_env
.DefaultTestDirectory.CreateDirectory("Project1");
485
var project2Root =
_env
.DefaultTestDirectory.CreateDirectory("Project2");
546
var project1Directory =
_env
.DefaultTestDirectory.CreateDirectory("Project1");
549
var project2Directory =
_env
.DefaultTestDirectory.CreateDirectory("Project2");
608
var globDirectory =
_env
.DefaultTestDirectory.CreateDirectory("glob");
610
var projectRoot =
_env
.DefaultTestDirectory.CreateDirectory("proj");
682
var testDirectory =
_env
.DefaultTestDirectory;
757
var projectDirectory =
_env
.DefaultTestDirectory.Path;
800
var projectDirectory =
_env
.DefaultTestDirectory.Path;
851
var subdirectory =
_env
.DefaultTestDirectory.CreateDirectory("subDirectory");
853
_env
.DefaultTestDirectory.CreateFile("a");
883
:
_env
.DefaultTestDirectory.Path);
907
var subdirectory =
_env
.DefaultTestDirectory.CreateDirectory("subDirectory");
909
var rootFile =
_env
.DefaultTestDirectory.CreateFile("a");
958
projectContents.Select((p, i) => new ProjectSpecification(Path.Combine(
_env
.DefaultTestDirectory.Path, $"Project{i}.proj"), p)),
986
var collection =
_env
.CreateProjectCollection().Collection;