ProjectRootElement.AddImportGroup Method

Definition

Convenience method that picks a location based on a heuristic: Creates an import group at the end of the project.

C#
public Microsoft.Build.Construction.ProjectImportGroupElement AddImportGroup();

Returns

The import group created at the end of this project.

Remarks

This convenience method picks a location in the MSBuild DOM based on a heuristic.

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17