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">
7 <!-- =================== IMPORT COMMON SCHEMA =========================== -->
8 <xs:include schemaLocation="MSBuild/Microsoft.Build.CommonTypes.xsd"/>
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. -->
15 <!-- example custom itemtype with particular meta-data required-->
16 <!--<xs:element name="MyItem" substitutionGroup="msb:Item">
19 <xs:extension base="msb:SimpleItemType">
20 <xs:sequence maxOccurs="1">
22 <xs:element name="MyMetaData" type="xs:string"/>
30 <!-- Example custom itemtype with NO meta-data -->
31 <!--<xs:element name="MySimpleItem" type="msb:SimpleItemType" substitutionGroup="msb:Item"/>-->
33 <!-- Example custom itemtype with ANY meta-data -->
34 <!--<xs:element name="MyFlexibleItem" type="msb:GenericItemType" substitutionGroup="msb:Item"/>-->
36 <!-- example custom property that allows string content only-->
37 <!--<xs:element name="MySimpleProperty" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>-->
39 <!-- example custom task with single required parameter-->
40 <!--<xs:element name="MyTask" substitutionGroup="msb:Task">
43 <xs:extension base="msb:TaskType">
44 <xs:attribute name="MyParameter" type="xs:boolean" use="required"/>