13 references to CreateImportElement
Microsoft.Build (10)
Construction\ProjectImportElement.cs (1)
184
return owner.
CreateImportElement
(Project);
Construction\ProjectImportGroupElement.cs (1)
66
ProjectImportElement newImport = ContainingProject.
CreateImportElement
(project);
Construction\ProjectRootElement.cs (1)
943
import =
CreateImportElement
(project);
Construction\Solution\SolutionProjectGenerator.cs (6)
884
ProjectImportElement importBefore = traversalProject.
CreateImportElement
(@"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportBefore\*");
887
ProjectImportElement importAfter = traversalProject.
CreateImportElement
(@"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportAfter\*");
927
ProjectImportElement directorySolutionPropsImport = traversalProject.
CreateImportElement
("$(DirectorySolutionPropsPath)");
945
ProjectImportElement directorySolutionTargetsImport = traversalProject.
CreateImportElement
("$(DirectorySolutionTargetsPath)");
954
ProjectImportElement importBeforeLocal = traversalProject.
CreateImportElement
(localFile);
958
ProjectImportElement importAfterLocal = traversalProject.
CreateImportElement
(localFile);
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
76
/// Facilitate remoting the <see cref="ProjectRootElement.
CreateImportElement
"/>.
Microsoft.Build.Engine.OM.UnitTests (3)
Definition\ProjectCollection_Tests.cs (1)
763
mainProject.Xml.PrependChild(mainProject.Xml.
CreateImportElement
(importProject.FullPath));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
104
xmlPair.CreateWithVerify<ProjectImportElement>((p) => p.
CreateImportElement
("fooImport"));
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
48
return (MockProjectImportElementLinkRemoter)this.Export(this.ProjectXml.
CreateImportElement
(project));