7 references to AddItem
Microsoft.Build (2)
Construction\Solution\SolutionProjectGenerator.cs (2)
1062item = projectInstance.AddItem("ProjectReference", EscapingUtilities.Escape(projectToAdd.AbsolutePath), null); 1070item = projectInstance.AddItem("ProjectReference", GetMetaprojectName(projectToAdd), null);
Microsoft.Build.Engine.OM.UnitTests (4)
Instance\ProjectInstance_Tests.cs (3)
133ProjectItemInstance returned = p.AddItem("i", "i1", metadata); 192ProjectItemInstance item = p.AddItem("i", "i1", null); 715Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.AddItem("a", "b", new List<KeyValuePair<string, string>>()); });
Instance\ProjectItemInstance_Tests.cs (1)
257ProjectItemInstance item = projectInstance.AddItem("i", "i1", metadata);
Microsoft.Build.Tasks.UnitTests (1)
AssignLinkMetadata_Tests.cs (1)
191ITaskItem item = pi.AddItem("Foo", itemSpec, metadata);