Implemented interface members:
property
EvaluatedInclude
Microsoft.Build.Evaluation.IItem.EvaluatedInclude
property
EvaluatedInclude
Microsoft.Build.Framework.IItemData.EvaluatedInclude
11 writes to EvaluatedInclude
Microsoft.Build (1)
Instance\ProjectItemInstance.cs (1)
302EvaluatedInclude = value;
Microsoft.Build.Engine.OM.UnitTests (10)
Instance\ProjectInstance_Tests.cs (7)
737Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).EvaluatedInclude = "x"; }); 875Helpers.GetFirst(instance.Items).EvaluatedInclude = "new"; 899Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).EvaluatedInclude = "new"; }); 924Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).EvaluatedInclude = "new"; }); 946Helpers.VerifyAssertThrowsInvalidOperation(delegate () { Helpers.GetFirst(instance.Items).EvaluatedInclude = "new"; }); 963Helpers.GetFirst(instance.Items).EvaluatedInclude = "new"; 980Helpers.GetFirst(instance.Items).EvaluatedInclude = "new";
Instance\ProjectItemInstance_Tests.cs (3)
217item.EvaluatedInclude = "i1b"; 230item.EvaluatedInclude = String.Empty; 242item.EvaluatedInclude = null;
168 references to EvaluatedInclude
Microsoft.Build (11)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
181string pluginPath = FileUtilities.NormalizePath(Path.Combine(item.Project.Directory, item.EvaluatedInclude));
BackEnd\Components\RequestBuilder\BatchingEngine.cs (1)
267item.EvaluatedInclude, consumedItemName, consumedMetadataReference.MetadataName);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
605if (specificationsToFind.Contains(item.EvaluatedInclude))
BackEnd\Components\RequestBuilder\TaskBuilder.cs (1)
1034declaredProjects.Add(FileUtilities.NormalizePath(projectReferenceItem.EvaluatedInclude));
BackEnd\Shared\BuildRequestConfiguration.cs (2)
833if (items.Count == 0 || items.All(i => string.IsNullOrWhiteSpace(i.EvaluatedInclude))) 838var fragments = items.SelectMany(i => ExpressionShredder.SplitSemiColonSeparatedList(i.EvaluatedInclude));
Graph\ProjectInterpretation.cs (2)
117projectReferenceItem.EvaluatedInclude, 503if (projectReferenceTarget.EvaluatedInclude.Equals(entryTarget, StringComparison.OrdinalIgnoreCase))
Instance\ProjectInstance.cs (1)
2003if (string.Equals(item.EvaluatedInclude, evaluatedInclude, StringComparison.OrdinalIgnoreCase))
Instance\ProjectItemInstance.cs (2)
295return EvaluatedInclude; 680item.Include = EvaluatedInclude;
Microsoft.Build.Engine.OM.UnitTests (26)
Definition\DefinitionEditing_Tests.cs (4)
168Assert.Equal("i1", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].EvaluatedInclude); 195Assert.Equal("i(1)", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].EvaluatedInclude); 2092Assert.Equal("i1", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].EvaluatedInclude); 2119Assert.Equal("i(1)", Helpers.MakeList(project.CreateProjectInstance().GetItems("i"))[0].EvaluatedInclude);
Definition\Project_Tests.cs (5)
686projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(Directory.GetCurrentDirectory(), @"obj\i386\foo.dll")); 691projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(Directory.GetCurrentDirectory(), @"obj/i386/foo.dll")); 722projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar); 758projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory, "obj", "i386").Substring(RootPrefixLength) + Path.DirectorySeparatorChar); 797projectInstance.GetItems("BuiltProjectOutputGroupKeyOutput").First().EvaluatedInclude.ShouldBe(Path.Combine(FileUtilities.TempFileDirectory /* remove c:\ */, "obj", "i386"));
Definition\ProjectItem_Tests.cs (1)
3759var itemB = projectInstance.Items.Single(i => i.ItemType == "B").EvaluatedInclude;
Instance\ProjectInstance_Tests.cs (11)
69Assert.Equal("i0", items[0].EvaluatedInclude); 72Assert.Equal("i1", items[1].EvaluatedInclude); 75Assert.Equal("v1", items[2].EvaluatedInclude); 89Assert.Equal("i1", returned.EvaluatedInclude); 94Assert.Equal("i1", item.EvaluatedInclude); 110Assert.Equal("i;1", returned.EvaluatedInclude); 115Assert.Equal("i;1", item.EvaluatedInclude); 140Assert.Equal("i1", item.EvaluatedInclude); 266Assert.Equal("i1", Helpers.MakeList(project.GetItems("j"))[0].EvaluatedInclude); 310Assert.Equal(file1, Helpers.MakeList(projectInstance.GetItems("i"))[0].EvaluatedInclude); 311Assert.Equal(file2, Helpers.MakeList(projectInstance.GetItems("i"))[1].EvaluatedInclude);
Instance\ProjectItemInstance_Tests.cs (5)
84Assert.Equal("i1", item.EvaluatedInclude); 218Assert.Equal("i1b", item.EvaluatedInclude); 330Assert.Equal(item.EvaluatedInclude, taskItem.ItemSpec); 453Assert.Equal("i1", item.EvaluatedInclude); 1184Assert.Equal(includes[i], items[i].EvaluatedInclude);
Microsoft.Build.Engine.UnitTests (118)
BackEnd\BatchingEngine_Tests.cs (1)
113Assert.Equal("a.foo", items[0].EvaluatedInclude);
BackEnd\BuildManager_Tests.cs (2)
539result.ProjectStateAfterBuild.GetItems("AnItem").ShouldContain(p => p.EvaluatedInclude == "Item2"); 2274if (item.EvaluatedInclude == "foo")
BackEnd\BuildRequestConfiguration_Tests.cs (2)
381Assert.Equal("bazfile", instance.ItemsToBuildWith["Baz"].First().EvaluatedInclude); 407Assert.Equal("bazfile", instance.ItemsToBuildWith["Baz"].First().EvaluatedInclude);
BackEnd\IntrinsicTask_Tests.cs (54)
252Assert.Equal("a1", i1Group.First().EvaluatedInclude); 253Assert.Equal("b1", i2Group.First().EvaluatedInclude); 726Assert.Equal("a1", i1Group.First().EvaluatedInclude); 752Assert.Equal("v0", i1Group.First().EvaluatedInclude); 824Assert.Equal("a.cpp", i1Group.First().EvaluatedInclude); 825Assert.Equal("a.obj", i2Group.First().EvaluatedInclude); 847Assert.Equal("a.cpp", i2Group.First().EvaluatedInclude); 869Assert.Equal("a1", i1Group.First().EvaluatedInclude); 870Assert.Equal("b2", i2Group.First().EvaluatedInclude); 895Assert.Equal("a1", i1Group.First().EvaluatedInclude); 896Assert.Equal("b1", i2Group.First().EvaluatedInclude); 1004Assert.Equal("v0", i1Group.First().EvaluatedInclude); 1005Assert.Equal("a2", i2Group.First().EvaluatedInclude); 1032Assert.Equal("a1", i1Group.First().EvaluatedInclude); 1033Assert.Equal("a2", i1Group.ElementAt(1).EvaluatedInclude); 1034Assert.Equal("m1", i2Group.First().EvaluatedInclude); 1035Assert.Equal("m2", i2Group.ElementAt(1).EvaluatedInclude); 1066Assert.Equal("a1", i2Group.First().EvaluatedInclude); 1067Assert.Equal("a2", i2Group.ElementAt(1).EvaluatedInclude); 1123Assert.Equal("b1", i1Group.First().EvaluatedInclude); 1124Assert.Equal("b1", i1Group.ElementAt(1).EvaluatedInclude); 1125Assert.Equal("b1", i1Group.ElementAt(2).EvaluatedInclude); 1130Assert.Equal("m1", i2Group.First().EvaluatedInclude); 1131Assert.Equal("m2", i2Group.ElementAt(1).EvaluatedInclude); 1132Assert.Equal("m3", i2Group.ElementAt(2).EvaluatedInclude); 1779items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "a2", "d2" }); 1813items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "a2", "d2" }); 1857items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "a2", "b2", "c2", "g2" }); 1870items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "b2", "c2", "g2" }); 1910items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "../foo.txt", "/foo/bar.txt" }); 1944items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "a2", "d2" }); 1982items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "a2", "c2", "d2" }); 2018items.Select(i => i.EvaluatedInclude).ShouldBe(new[] { "a2", "b2", "c2", "d2" }); 2055items.ElementAt(0).EvaluatedInclude.ShouldBe("a2"); 2056items.ElementAt(1).EvaluatedInclude.ShouldBe("c2"); 2057items.ElementAt(2).EvaluatedInclude.ShouldBe("d2"); 2150Assert.Equal("a1", i0Group.First().EvaluatedInclude); 2151Assert.Equal("a3", i0Group.ElementAt(1).EvaluatedInclude); 2152Assert.Equal("a4", i0Group.ElementAt(2).EvaluatedInclude); 2231Assert.Equal("x", i1Group.First().EvaluatedInclude); 2274Assert.Equal("A_PCH", linkGroup.First().EvaluatedInclude); 2275Assert.Equal("m1.obj", linkGroup.ElementAt(1).EvaluatedInclude); 2276Assert.Equal("m2", linkGroup.ElementAt(2).EvaluatedInclude); 2277Assert.Equal("m2", linkGroup.ElementAt(3).EvaluatedInclude); 2454Assert.Equal("a1", p.ItemsToBuildWith["i0"].First().EvaluatedInclude); 2545Assert.Equal("other", lookup.GetItems("i1").First().EvaluatedInclude); 2967Assert.Equal("a1", item1.EvaluatedInclude); 2968Assert.Equal("a2", item2.EvaluatedInclude); 2997Assert.Equal("a1", item1.EvaluatedInclude); 2998Assert.Equal("a2", item2.EvaluatedInclude); 3046Assert.Equal("a1", item1.EvaluatedInclude); 3047Assert.Equal("a2", item2.EvaluatedInclude); 3077Assert.Equal("a1", item1.EvaluatedInclude); 3078Assert.Equal("a2", item2.EvaluatedInclude);
BackEnd\Lookup_Tests.cs (28)
38Assert.Equal("a2", lookup.GetItems("i1").First().EvaluatedInclude); 39Assert.Equal("a(2", lookup.GetItems("i2").First().EvaluatedInclude); 58Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 59Assert.Equal("a;1", lookup.GetItems("i2").First().EvaluatedInclude); 88Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 92Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 99Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 103Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 111Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 112Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).EvaluatedInclude); 116Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 123Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 124Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).EvaluatedInclude); 128Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 135Assert.Equal("a1", lookup.GetItems("i1").First().EvaluatedInclude); 136Assert.Equal("a2", lookup.GetItems("i1").ElementAt(1).EvaluatedInclude); 140Assert.Equal("a1", table1["i1"].First().EvaluatedInclude); 141Assert.Equal("a2", table1["i1"].ElementAt(1).EvaluatedInclude); 178Assert.Equal(2, group.Where(item => item.EvaluatedInclude == "a1").Count()); 180Assert.Single(group.Where(item => item.EvaluatedInclude == "a2")); 190Assert.Equal(2, group.Where(item => item.EvaluatedInclude == "a1").Count()); 192Assert.Single(group.Where(item => item.EvaluatedInclude == "a2")); 230Assert.Equal(4, group.Where(item => item.EvaluatedInclude == "a1").Count()); 233Assert.Single(group.Where(item => item.EvaluatedInclude == "a2")); 243Assert.Equal(4, group.Where(item => item.EvaluatedInclude == "a1").Count()); 246Assert.Single(group.Where(item => item.EvaluatedInclude == "a2")); 272Assert.Equal("a2", lookup.GetItems("i1").First().EvaluatedInclude); 287Assert.Equal("a1", table1["i1"].First().EvaluatedInclude);
BackEnd\TargetUpToDateChecker_Tests.cs (1)
288Console.WriteLine("Changed: {0}:{1}", itemInstance.ItemType, itemInstance.EvaluatedInclude);
BackEnd\TaskExecutionHost_Tests.cs (2)
1303Assert.Equal(value, _bucket.Lookup.GetItems("output").First().EvaluatedInclude); 1329Assert.Equal(values[i], _bucket.Lookup.GetItems("output").ElementAt(i).EvaluatedInclude);
Collections\OMcollections_tests.cs (2)
355return String.Compare(one.EvaluatedInclude, two.EvaluatedInclude);
Construction\SolutionProjectGenerator_Tests.cs (2)
1906Assert.Contains("%abtest", instances[0].GetItems("ProjectReference").ElementAt(0).EvaluatedInclude); 2856if (item.ItemType == itemType && item.EvaluatedInclude == include)
Evaluation\Expander_Tests.cs (24)
184Assert.Equal("i0", items[0].EvaluatedInclude); 185Assert.Equal("i1", items[1].EvaluatedInclude); 204Assert.Equal("i0", items[0].EvaluatedInclude); 205Assert.Equal("i1", items[1].EvaluatedInclude); 223Assert.Equal("true", itemsTrue[0].EvaluatedInclude); 229Assert.Equal("false", itemsFalse[0].EvaluatedInclude); 241pii.EvaluatedInclude.ShouldBe("false"); 261Assert.Equal(Path.Combine(s_rootPathPrefix, "firstdirectory", "seconddirectory"), itemsTrue[0].EvaluatedInclude); 267Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), @"seconddirectory"), itemsDir[0].EvaluatedInclude); 287Assert.Equal(Path.Combine("firstdirectory", "seconddirectory") + Path.DirectorySeparatorChar, itemsTrue[5].EvaluatedInclude); 293Assert.Equal(@"file0", itemsTrue[5].EvaluatedInclude); 299Assert.Equal(@".ext", itemsTrue[5].EvaluatedInclude); 660Assert.Equal(Path.Combine("firstdirectory", "seconddirectory") + Path.DirectorySeparatorChar, itemsTrue[5].EvaluatedInclude); 666Assert.Equal(@"file0", itemsTrue[5].EvaluatedInclude); 672Assert.Equal(@".ext", itemsTrue[0].EvaluatedInclude); 678Assert.Equal(@"le0", itemsTrue[5].EvaluatedInclude); 698Assert.Equal(Path.Combine(s_rootPathPrefix, "firstdirectory", "seconddirectory"), itemsTrue[5].EvaluatedInclude); 719Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), @"secondd;rectory"), items[5].EvaluatedInclude); 720Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), @"someo;herplace"), items[6].EvaluatedInclude); 4801var includes = myDirectories.Select(i => i.EvaluatedInclude); 4845var includes = myDirectories.Select(i => i.EvaluatedInclude); 4877squiggles.Select(i => i.EvaluatedInclude).ShouldBe(new[] 4923squiggleItems.Select(i => i.EvaluatedInclude).ShouldBe(new[] { alphaOnePath, alphaThreePath }, Case.Insensitive); 4964squiggleItems.Select(i => i.EvaluatedInclude).ShouldBe(new[] { alphaBetaPath, alphaDeltaPath }, Case.Insensitive);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (7)
TargetTests.cs (7)
564Assert.Equal("file1.cs", noneItems[0].EvaluatedInclude); 567Assert.Equal("file2.cs", noneItems[1].EvaluatedInclude); 570Assert.Equal("file3.cs", noneItems[2].EvaluatedInclude); 835Assert.Equal(expectedLastBuildWithSkipAnalyzers, items.Single().EvaluatedInclude); 845Assert.Equal(expectedLastBuildWithSkipAnalyzers, item.EvaluatedInclude); 876var caps = instance.GetItems("ProjectCapability").Select(c => c.EvaluatedInclude); 894var caps = instance.GetItems("ProjectCapability").Select(c => c.EvaluatedInclude);
Microsoft.Build.Tasks.UnitTests (1)
CallTarget_Tests.cs (1)
186targetOutputsTaskItems.Add(new TaskItem(item.EvaluatedInclude));
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
237public string EvaluatedInclude => _projectInstance.EvaluatedInclude;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
MSBuild\ProjectFile\Extensions.cs (3)
43var name = item.EvaluatedInclude; 56=> new(reference.EvaluatedInclude, reference.GetAliases(), reference.ReferenceOutputAssemblyIsTrue()); 103builder.Append(item.EvaluatedInclude);
MSBuild\ProjectFile\ProjectFile.cs (1)
139var intermediateOutputFilePath = project.GetItems(ItemNames.IntermediateAssembly).FirstOrDefault()?.EvaluatedInclude;