diff options
Diffstat (limited to 'Prebuild/src/data/dnpb-1.3.xsd')
-rw-r--r-- | Prebuild/src/data/dnpb-1.3.xsd | 206 |
1 files changed, 206 insertions, 0 deletions
diff --git a/Prebuild/src/data/dnpb-1.3.xsd b/Prebuild/src/data/dnpb-1.3.xsd new file mode 100644 index 0000000..8f31a54 --- /dev/null +++ b/Prebuild/src/data/dnpb-1.3.xsd | |||
@@ -0,0 +1,206 @@ | |||
1 | <?xml version="1.0" encoding="utf-8" ?> | ||
2 | <xs:schema elementFormDefault="qualified" | ||
3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
4 | targetNamespace="http://dnpb.sourceforge.net/schemas/dnpb-1.3.xsd" | ||
5 | xmlns="http://dnpb.sourceforge.net/schemas/dnpb-1.3.xsd" | ||
6 | > | ||
7 | <xs:annotation> | ||
8 | <xs:documentation> | ||
9 | Copyright (c) 2004-2005 Matthew Holmes (calefaction at houston . rr . com), Dan Moorehead (dan05a at gmail . com) | ||
10 | |||
11 | .NET Pre-Build is an XML-driven pre-build tool allowing developers to | ||
12 | easily generate project or make files for major IDE's and .NET | ||
13 | development tools including: Visual Studio 2003, Visual Studio 2002, | ||
14 | SharpDevelop, MonoDevelop, and NAnt. | ||
15 | |||
16 | BSD License: | ||
17 | |||
18 | Redistribution and use in source and binary forms, with or without modification, are permitted | ||
19 | provided that the following conditions are met: | ||
20 | |||
21 | * Redistributions of source code must retain the above copyright notice, this list of conditions | ||
22 | and the following disclaimer. | ||
23 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
24 | and the following disclaimer in the documentation and/or other materials provided with the | ||
25 | distribution. | ||
26 | * The name of the author may not be used to endorse or promote products derived from this software | ||
27 | without specific prior written permission. | ||
28 | |||
29 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, | ||
30 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
31 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
32 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
33 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | ||
34 | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING | ||
35 | IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
36 | </xs:documentation> | ||
37 | </xs:annotation> | ||
38 | |||
39 | <xs:element name="DNPreBuild"> | ||
40 | <xs:complexType> | ||
41 | <xs:sequence> | ||
42 | <xs:element ref="Process" minOccurs="0" maxOccurs="unbounded" /> | ||
43 | <xs:element ref="Solution" minOccurs="0" maxOccurs="unbounded" /> | ||
44 | </xs:sequence> | ||
45 | |||
46 | <xs:attribute name="version" use="required" /> | ||
47 | </xs:complexType> | ||
48 | </xs:element> | ||
49 | |||
50 | <xs:element name="Process" type="xs:string" /> | ||
51 | |||
52 | <xs:element name="Solution"> | ||
53 | <xs:complexType> | ||
54 | <xs:sequence> | ||
55 | <xs:element ref="Options" minOccurs="0" /> | ||
56 | <xs:element ref="Configuration" minOccurs="1" maxOccurs="unbounded" /> | ||
57 | <xs:element ref="Files" minOccurs="0" /> | ||
58 | <xs:element ref="Project" minOccurs="1" maxOccurs="unbounded" /> | ||
59 | </xs:sequence> | ||
60 | |||
61 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
62 | <xs:attribute name="path" type="xs:string" default="" /> | ||
63 | </xs:complexType> | ||
64 | </xs:element> | ||
65 | |||
66 | <xs:element name="Project"> | ||
67 | <xs:complexType> | ||
68 | <xs:sequence> | ||
69 | <xs:element ref="Configuration" minOccurs="0" maxOccurs="unbounded" /> | ||
70 | |||
71 | <xs:element name="ReferencePath" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> | ||
72 | |||
73 | <xs:element name="Reference" minOccurs="0" maxOccurs="unbounded"> | ||
74 | <xs:complexType> | ||
75 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
76 | <xs:attribute name="path" type="xs:string" /> | ||
77 | <xs:attribute name="localCopy" type="xs:boolean" /> | ||
78 | <xs:attribute name="version" type="xs:string" /> | ||
79 | </xs:complexType> | ||
80 | </xs:element> | ||
81 | |||
82 | <xs:element ref="Files" /> | ||
83 | </xs:sequence> | ||
84 | |||
85 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
86 | <xs:attribute name="path" type="xs:string" default="" /> | ||
87 | <xs:attribute name="icon" type="xs:string" default="" /> | ||
88 | |||
89 | <xs:attribute name="language" default="C#"> | ||
90 | <xs:simpleType> | ||
91 | <xs:restriction base="xs:string"> | ||
92 | <xs:enumeration value="C#" /> | ||
93 | <xs:enumeration value="VB.NET" /> | ||
94 | </xs:restriction> | ||
95 | </xs:simpleType> | ||
96 | </xs:attribute> | ||
97 | |||
98 | <xs:attribute name="type" default="Exe"> | ||
99 | <xs:simpleType> | ||
100 | <xs:restriction base="xs:string"> | ||
101 | <xs:enumeration value="Exe" /> | ||
102 | <xs:enumeration value="WinExe" /> | ||
103 | <xs:enumeration value="Library" /> | ||
104 | </xs:restriction> | ||
105 | </xs:simpleType> | ||
106 | </xs:attribute> | ||
107 | |||
108 | <xs:attribute name="runtime" default="Microsoft"> | ||
109 | <xs:simpleType> | ||
110 | <xs:restriction base="xs:string"> | ||
111 | <xs:enumeration value="Microsoft" /> | ||
112 | <xs:enumeration value="Mono" /> | ||
113 | </xs:restriction> | ||
114 | </xs:simpleType> | ||
115 | </xs:attribute> | ||
116 | |||
117 | <xs:attribute name="startupObject" type="xs:string" default="" /> | ||
118 | <xs:attribute name="rootNamespace" type="xs:string" /> | ||
119 | <xs:attribute name="assemblyName" type="xs:string" /> | ||
120 | </xs:complexType> | ||
121 | </xs:element> | ||
122 | |||
123 | <xs:element name="Configuration"> | ||
124 | <xs:complexType> | ||
125 | <xs:all> | ||
126 | <xs:element ref="Options" minOccurs="0" /> | ||
127 | </xs:all> | ||
128 | |||
129 | <xs:attribute name="name" type="xs:string" use="required" /> | ||
130 | </xs:complexType> | ||
131 | </xs:element> | ||
132 | |||
133 | <xs:element name="Options"> | ||
134 | <xs:complexType> | ||
135 | <xs:all> | ||
136 | <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> | ||
137 | <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> | ||
138 | <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> | ||
139 | <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> | ||
140 | <xs:element name="WarningLevel" minOccurs="0"> | ||
141 | <xs:simpleType> | ||
142 | <xs:restriction base="xs:integer"> | ||
143 | <xs:minInclusive value="0" /> | ||
144 | <xs:maxInclusive value="4"/> | ||
145 | </xs:restriction> | ||
146 | </xs:simpleType> | ||
147 | </xs:element> | ||
148 | <xs:element name="WarningsAsErrors" type="xs:boolean" minOccurs="0" /> | ||
149 | <xs:element name="SupressWarnings" type="xs:string" minOccurs="0" /> | ||
150 | <xs:element name="OutputPath" type="xs:string" minOccurs="0" /> | ||
151 | <xs:element name="XmlDocFile" type="xs:string" minOccurs="0" /> | ||
152 | <xs:element name="DebugInformation" type="xs:boolean" minOccurs="0" /> | ||
153 | <xs:element name="RegisterCOMInterop" type="xs:boolean" minOccurs="0" /> | ||
154 | <xs:element name="IncrementalBuild" type="xs:boolean" minOccurs="0" /> | ||
155 | <xs:element name="BaseAddress" type="xs:string" minOccurs="0" /> | ||
156 | <xs:element name="FileAlignment" type="xs:integer" minOccurs="0" /> | ||
157 | <xs:element name="NoStdLib" type="xs:boolean" minOccurs="0" /> | ||
158 | </xs:all> | ||
159 | </xs:complexType> | ||
160 | </xs:element> | ||
161 | |||
162 | <xs:element name="Files"> | ||
163 | <xs:complexType> | ||
164 | <xs:sequence> | ||
165 | <xs:element ref="File" minOccurs="0" maxOccurs="unbounded" /> | ||
166 | <xs:element ref="Match" minOccurs="0" maxOccurs="unbounded" /> | ||
167 | </xs:sequence> | ||
168 | </xs:complexType> | ||
169 | </xs:element> | ||
170 | |||
171 | <xs:element name="File"> | ||
172 | <xs:complexType> | ||
173 | <xs:simpleContent> | ||
174 | <xs:extension base="xs:string"> | ||
175 | <xs:attribute name="buildAction" default="Compile"> | ||
176 | <xs:simpleType> | ||
177 | <xs:restriction base="xs:string"> | ||
178 | <xs:enumeration value="Compile" /> | ||
179 | <xs:enumeration value="Content" /> | ||
180 | <xs:enumeration value="EmbeddedResource" /> | ||
181 | </xs:restriction> | ||
182 | </xs:simpleType> | ||
183 | </xs:attribute> | ||
184 | </xs:extension> | ||
185 | </xs:simpleContent> | ||
186 | </xs:complexType> | ||
187 | </xs:element> | ||
188 | |||
189 | <xs:element name="Match"> | ||
190 | <xs:complexType> | ||
191 | <xs:attribute name="path" type="xs:string" /> | ||
192 | <xs:attribute name="pattern" type="xs:string" use="required" /> | ||
193 | <xs:attribute name="recurse" type="xs:boolean" default="false" /> | ||
194 | <xs:attribute name="useRegex" type="xs:boolean" default="false" /> | ||
195 | <xs:attribute name="buildAction" default="Compile"> | ||
196 | <xs:simpleType> | ||
197 | <xs:restriction base="xs:string"> | ||
198 | <xs:enumeration value="Compile" /> | ||
199 | <xs:enumeration value="Content" /> | ||
200 | <xs:enumeration value="EmbeddedResource" /> | ||
201 | </xs:restriction> | ||
202 | </xs:simpleType> | ||
203 | </xs:attribute> | ||
204 | </xs:complexType> | ||
205 | </xs:element> | ||
206 | </xs:schema> \ No newline at end of file | ||