Microsoft.Build.Construction Namespace

Contains types that the MSBuild object model uses to construct project roots with unevaluated values. Each project root corresponds to a project or targets file. For information, see MSBuild.

Classes

ElementLocation

The location of an XML node in a file. Any editing of the project XML through the MSBuild API's will invalidate locations in that XML until the XML is reloaded.

ProjectChooseElement

ProjectChooseElement represents the Choose element in the MSBuild project. Currently it does not allow a Condition.

ProjectConfigurationInSolution

This class represents an entry for a project configuration in a solution configuration.

ProjectElement

Abstract base class for MSBuild construction object model elements.

ProjectElementContainer

A container for project elements

ProjectExtensionsElement

ProjectExtensionsElement represents the ProjectExtensions element in the MSBuild project. ProjectExtensions can contain arbitrary XML content. The ProjectExtensions element is deprecated and provided only for backward compatibility. Use a property instead. Properties can also contain XML content.

ProjectImportElement

Initializes a ProjectImportElement instance.

ProjectImportGroupElement

ProjectImportGroupElement represents the ImportGroup element in the MSBuild project.

ProjectInSolution
ProjectItemDefinitionElement

ProjectItemDefinitionElement class represents the Item Definition element in the MSBuild project.

ProjectItemDefinitionGroupElement

ProjectItemDefinitionGroupElement represents the ItemGroup element in the MSBuild project.

ProjectItemElement

ProjectItemElement class represents the Item element in the MSBuild project.

ProjectItemGroupElement

ProjectItemGroupElement represents the ItemGroup element in the MSBuild project.

ProjectMetadataElement

ProjectMetadataElement class represents a Metadata element in the MSBuild project.

ProjectOnErrorElement

ProjectUsingTaskElement represents the Import element in the MSBuild project.

ProjectOtherwiseElement

ProjectOtherwiseElement represents the Otherwise element in the MSBuild project.

ProjectOutputElement

ProjectOutputElement represents the Output element in the MSBuild project.

ProjectPropertyElement

ProjectPropertyElement class represents the Property element in the MSBuild project.

ProjectPropertyGroupElement

ProjectPropertyGroupElement represents the PropertyGroup element in the MSBuild project.

ProjectRootElement

ProjectRootElement class represents an MSBuild project, an MSBuild targets file or any other file that conforms to MSBuild project file schema. This class and its related classes allow a complete MSBuild project or targets file to be read and written. Comments and whitespace cannot be edited through this model at present.

Each project root element is associated with exactly one ProjectCollection. This allows the owner of that project collection to control its lifetime and not be surprised by edits via another project collection.

ProjectSdkElement

ProjectSdkElement represents the Sdk element within the MSBuild project.

ProjectTargetElement

ProjectTargetElement represents the Target element in the MSBuild project.

ProjectTaskElement

ProjectTaskElement represents the Task element in the MSBuild project.

ProjectUsingTaskBodyElement

ProjectUsingTaskBodyElement class represents the Task element under the using task element in the MSBuild project.

ProjectUsingTaskElement

ProjectUsingTaskElement represents the Import element in the MSBuild project.

ProjectUsingTaskParameterElement

UsingTaskParameterElement class represents the Parameter element in the MSBuild project.

ProjectWhenElement

ProjectWhenElement represents the When element in the MSBuild project.

SolutionConfigurationInSolution

This represents an entry for a solution configuration

SolutionFile
UsingTaskParameterGroupElement

UsingTaskParameterGroupElement represents a ParameterGroup under the using task.

Enums

ImplicitImportLocation

Represents the location of an implicit import.

SolutionProjectType