Merge pull request #900 from Blewzman/FixAggregateExceptionGetBaseException
[mono.git] / mcs / tools / xbuild / data / Microsoft.Build.xsd
1 <?xml version="1.0" encoding="utf-8"?>
2 <xs:schema targetNamespace="http://schemas.microsoft.com/developer/msbuild/2003"
3 xmlns:xs="http://www.w3.org/2001/XMLSchema"
4 xmlns:msb="http://schemas.microsoft.com/developer/msbuild/2003"
5 elementFormDefault="qualified">
6
7     <!-- =================== IMPORT COMMON SCHEMA =========================== -->
8     <xs:include schemaLocation="MSBuild/Microsoft.Build.CommonTypes.xsd"/>
9
10     <!-- ========= ADD CUSTOM ITEMS, PROPERTIES, AND TASKS BELOW ======= -->
11     <!-- Note that these will be in the msbuild namespace. A future version of
12         msbuild may require that custom itemtypes, properties, and tasks be in a
13         custom namespace, but currently msbuild only supports the msbuild namespace. -->
14
15     <!-- example custom itemtype with particular meta-data required-->
16     <!--<xs:element name="MyItem" substitutionGroup="msb:Item">
17         <xs:complexType>
18             <xs:complexContent>
19                 <xs:extension base="msb:SimpleItemType">
20                     <xs:sequence maxOccurs="1">
21                         <xs:choice>
22                             <xs:element name="MyMetaData" type="xs:string"/>
23                         </xs:choice>
24                     </xs:sequence>
25                 </xs:extension>
26             </xs:complexContent>
27         </xs:complexType>
28     </xs:element>-->
29
30     <!-- Example custom itemtype with NO meta-data -->
31     <!--<xs:element name="MySimpleItem" type="msb:SimpleItemType" substitutionGroup="msb:Item"/>-->
32
33     <!-- Example custom itemtype with ANY meta-data -->
34     <!--<xs:element name="MyFlexibleItem" type="msb:GenericItemType" substitutionGroup="msb:Item"/>-->
35
36     <!-- example custom property that allows string content only-->
37     <!--<xs:element name="MySimpleProperty" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>-->
38
39     <!-- example custom task with single required parameter-->
40     <!--<xs:element name="MyTask" substitutionGroup="msb:Task">
41         <xs:complexType>
42             <xs:complexContent>
43                 <xs:extension base="msb:TaskType">
44                     <xs:attribute name="MyParameter" type="xs:boolean" use="required"/>
45                 </xs:extension>
46             </xs:complexContent>
47         </xs:complexType>
48     </xs:element>-->
49
50 </xs:schema>