Provides a table of all the MSBuild XML Schema elements with their available attributes and child elements.
MSBuild uses project files to instruct the build engine what to build and how to build it. MSBuild project files are XML files that adhere to the MSBuild XML schema. This section documents the XML schema definition (.xsd) file for MSBuild.
The following table lists all of the MSBuild XML schema elements along with their child elements and attributes.
Element
Child Elements
Attributes
Choose Element (MSBuild)
Otherwise
When
--
Import Element (MSBuild)
Condition
Project
Item Element (MSBuild)
ItemMetaData
Exclude
Include
ItemGroup Element (MSBuild)
Item
ItemDefinitionGroup Element (MSBuild)
ItemMetadata Element (MSBuild)
OnError Element (MSBuild)
ExecuteTargets
Otherwise Element (MSBuild)
Choose
ItemGroup
PropertyGroup
Output Element (MSBuild)
ItemName
PropertyName
TaskParameter
Project Element (MSBuild)
Import
ProjectExtensions
Target
UsingTask
DefaultTargets
xmlns
ProjectExtensions Element (MSBuild)
Property Element (MSBuild)
PropertyGroup Element (MSBuild)
Property
Target Element (MSBuild)
OnError
Task
DependsOnTargets
Inputs
Name
Outputs
Task Element (MSBuild)
Output
ContinueOnError
Parameter
UsingTask Element (MSBuild)
AssemblyFile
AssemblyName
TaskName
When Element (MSBuild)