Microsoft.Build.xsd 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. <!-- =================== IMPORT COMMON SCHEMA =========================== -->
  7. <xs:include schemaLocation="MSBuild/Microsoft.Build.CommonTypes.xsd"/>
  8. <!-- ========= ADD CUSTOM ITEMS, PROPERTIES, AND TASKS BELOW ======= -->
  9. <!-- Note that these will be in the msbuild namespace. A future version of
  10. msbuild may require that custom itemtypes, properties, and tasks be in a
  11. custom namespace, but currently msbuild only supports the msbuild namespace. -->
  12. <!-- example custom itemtype with particular meta-data required-->
  13. <!--<xs:element name="MyItem" substitutionGroup="msb:Item">
  14. <xs:complexType>
  15. <xs:complexContent>
  16. <xs:extension base="msb:SimpleItemType">
  17. <xs:sequence maxOccurs="1">
  18. <xs:choice>
  19. <xs:element name="MyMetaData" type="xs:string"/>
  20. </xs:choice>
  21. </xs:sequence>
  22. </xs:extension>
  23. </xs:complexContent>
  24. </xs:complexType>
  25. </xs:element>-->
  26. <!-- Example custom itemtype with NO meta-data -->
  27. <!--<xs:element name="MySimpleItem" type="msb:SimpleItemType" substitutionGroup="msb:Item"/>-->
  28. <!-- Example custom itemtype with ANY meta-data -->
  29. <!--<xs:element name="MyFlexibleItem" type="msb:GenericItemType" substitutionGroup="msb:Item"/>-->
  30. <!-- example custom property that allows string content only-->
  31. <!--<xs:element name="MySimpleProperty" type="msb:StringPropertyType" substitutionGroup="msb:Property"/>-->
  32. <!-- example custom task with single required parameter-->
  33. <!--<xs:element name="MyTask" substitutionGroup="msb:Task">
  34. <xs:complexType>
  35. <xs:complexContent>
  36. <xs:extension base="msb:TaskType">
  37. <xs:attribute name="MyParameter" type="xs:boolean" use="required"/>
  38. </xs:extension>
  39. </xs:complexContent>
  40. </xs:complexType>
  41. </xs:element>-->
  42. </xs:schema>