MSBuild Project File Schema Reference
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.
MSBuild XML Schema Elements
The following table lists all of the MSBuild XML schema elements along with their child elements and attributes.
Element |
Child Elements |
Attributes |
---|---|---|
Otherwise When |
-- |
|
-- |
Condition Project |
|
Import |
Condition |
|
ItemMetaData |
Condition Exclude Include Remove |
|
Item |
Condition |
|
Item |
Condition |
|
Item |
Condition |
|
-- |
Condition ExecuteTargets |
|
Choose ItemGroup PropertyGroup |
-- |
|
-- |
Condition ItemName PropertyName TaskParameter |
|
-- |
Output ParameterType Required |
|
Parameter |
-- |
|
Choose Import ItemGroup ProjectExtensions PropertyGroup Target UsingTask |
DefaultTargets InitialTargets ToolsVersion TreatAsLocalProperty xmlns |
|
-- |
-- |
|
-- |
Condition |
|
Property |
Condition |
|
OnError Task |
AfterTargets BeforeTargets Condition DependsOnTargets Inputs KeepDuplicateOutputs Name Outputs Returns |
|
Output |
Condition ContinueOnError Parameter |
|
Data |
Evaluate |
|
ParameterGroup TaskBody |
AssemblyFile AssemblyName Condition TaskFactory TaskName |
|
Choose ItemGroup PropertyGroup |
Condition |