52 references to ItemsToBuildWith
Microsoft.Build (3)
BackEnd\Components\Logging\ProjectLoggingContext.cs (2)
42
requestEntry.RequestConfiguration.Project.
ItemsToBuildWith
,
89
requestEntry.RequestConfiguration.Project.
ItemsToBuildWith
,
BackEnd\Shared\BuildRequestConfiguration.cs (1)
594
_baseLookup = new Lookup(Project.
ItemsToBuildWith
, Project.PropertiesToBuildWith);
Microsoft.Build.Engine.UnitTests (49)
BackEnd\BuildRequestConfiguration_Tests.cs (9)
377
int fooCount = instance.
ItemsToBuildWith
["Foo"].Count;
379
Assert.Single(instance.
ItemsToBuildWith
["Bar"]);
380
Assert.Single(instance.
ItemsToBuildWith
["Baz"]);
381
Assert.Equal("bazfile", instance.
ItemsToBuildWith
["Baz"].First().EvaluatedInclude);
394
Assert.Null(instance.
ItemsToBuildWith
);
404
Assert.Equal(fooCount, instance.
ItemsToBuildWith
["Foo"].Count);
405
Assert.Single(instance.
ItemsToBuildWith
["Bar"]);
406
Assert.Single(instance.
ItemsToBuildWith
["Baz"]);
407
Assert.Equal("bazfile", instance.
ItemsToBuildWith
["Baz"].First().EvaluatedInclude);
BackEnd\IntrinsicTask_Tests.cs (40)
2304
Assert.Empty(p.
ItemsToBuildWith
["i0"]);
2305
Assert.Empty(p.
ItemsToBuildWith
.ItemTypes);
2309
Assert.Single(p.
ItemsToBuildWith
["i0"]);
2310
Assert.Single(p.
ItemsToBuildWith
.ItemTypes);
2337
Assert.Empty(p.
ItemsToBuildWith
["i0"]);
2338
Assert.Empty(p.
ItemsToBuildWith
.ItemTypes);
2342
Assert.Single(p.
ItemsToBuildWith
["i0"]);
2343
Assert.Single(p.
ItemsToBuildWith
.ItemTypes);
2374
Assert.Equal(3, p.
ItemsToBuildWith
["i0"].Count);
2375
Assert.Single(p.
ItemsToBuildWith
["i1"]);
2376
Assert.Equal(2, p.
ItemsToBuildWith
.ItemTypes.Count);
2379
Assert.Equal(2, p.
ItemsToBuildWith
["i0"].Count);
2380
Assert.Single(p.
ItemsToBuildWith
["i1"]);
2381
Assert.Equal(2, p.
ItemsToBuildWith
.ItemTypes.Count);
2411
Assert.Empty(p.
ItemsToBuildWith
["i0"]);
2412
Assert.Empty(p.
ItemsToBuildWith
.ItemTypes);
2415
Assert.Single(p.
ItemsToBuildWith
["i0"]);
2416
Assert.Equal("m1", p.
ItemsToBuildWith
["i0"].First().GetMetadataValue("m"));
2417
Assert.Single(p.
ItemsToBuildWith
.ItemTypes);
2448
Assert.Equal(2, p.
ItemsToBuildWith
["i0"].Count);
2449
Assert.Equal(2, p.
ItemsToBuildWith
["i1"].Count);
2450
Assert.Equal(2, p.
ItemsToBuildWith
.ItemTypes.Count);
2453
Assert.Single(p.
ItemsToBuildWith
["i0"]);
2454
Assert.Equal("a1", p.
ItemsToBuildWith
["i0"].First().EvaluatedInclude);
2455
Assert.Empty(p.
ItemsToBuildWith
["i1"]);
2456
Assert.Single(p.
ItemsToBuildWith
.ItemTypes);
2486
Assert.Single(p.
ItemsToBuildWith
["i0"]);
2517
Assert.Single(p.
ItemsToBuildWith
["i0"]);
3205
ProjectItemInstance item = p.
ItemsToBuildWith
["i0"].First();
3209
item = p.
ItemsToBuildWith
["i0"].First();
3251
Assert.Single(p.
ItemsToBuildWith
["i0"]);
3252
Assert.Single(p.
ItemsToBuildWith
["i1"]);
3253
Assert.Equal("m0", p.
ItemsToBuildWith
["i0"].First().GetMetadataValue("m"));
3254
Assert.Equal("n0", p.
ItemsToBuildWith
["i0"].First().GetMetadataValue("n"));
3255
Assert.Equal("m1", p.
ItemsToBuildWith
["i1"].First().GetMetadataValue("m"));
3256
Assert.Equal("n1", p.
ItemsToBuildWith
["i1"].First().GetMetadataValue("n"));
3259
Assert.Single(p.
ItemsToBuildWith
["i0"]);
3260
Assert.Empty(p.
ItemsToBuildWith
["i1"]);
3261
Assert.Equal("m0", p.
ItemsToBuildWith
["i0"].First().GetMetadataValue("m"));
3262
Assert.Equal("n0", p.
ItemsToBuildWith
["i0"].First().GetMetadataValue("n"));