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