13 references to CreateImportElement
Microsoft.Build (10)
Construction\ProjectImportElement.cs (1)
184return owner.CreateImportElement(Project);
Construction\ProjectImportGroupElement.cs (1)
66ProjectImportElement newImport = ContainingProject.CreateImportElement(project);
Construction\ProjectRootElement.cs (1)
943import = CreateImportElement(project);
Construction\Solution\SolutionProjectGenerator.cs (6)
884ProjectImportElement importBefore = traversalProject.CreateImportElement(@"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportBefore\*"); 887ProjectImportElement importAfter = traversalProject.CreateImportElement(@"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportAfter\*"); 927ProjectImportElement directorySolutionPropsImport = traversalProject.CreateImportElement("$(DirectorySolutionPropsPath)"); 945ProjectImportElement directorySolutionTargetsImport = traversalProject.CreateImportElement("$(DirectorySolutionTargetsPath)"); 954ProjectImportElement importBeforeLocal = traversalProject.CreateImportElement(localFile); 958ProjectImportElement 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)
763mainProject.Xml.PrependChild(mainProject.Xml.CreateImportElement(importProject.FullPath));
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
104xmlPair.CreateWithVerify<ProjectImportElement>((p) => p.CreateImportElement("fooImport"));
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (1)
48return (MockProjectImportElementLinkRemoter)this.Export(this.ProjectXml.CreateImportElement(project));