forked from spring-projects/spring-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Spring.include
471 lines (438 loc) · 28.3 KB
/
Spring.include
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
<?xml version="1.0" ?>
<!--
Copyright 2004-2005 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project name="springnet-helpers" xmlnds="http://tempuri.org/nant-vs.xsd">
<!-- The path to the spring output directory for current build/runtime -->
<property name="spring.output.dir"
value="${spring.basedir}/bin/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}/${current.build.config}"
dynamic="true"/>
<!-- detect if .net 3.5 is installed -->
<property name="net-3.5" value="false"/>
<property name="registry.net-3.5.installed" value="0" overwrite="false"/>
<readregistry property="registry.net-3.5.installed"
key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Install"
hive="LocalMachine"
failonerror="false" />
<property name="net-3.5.installed" value="${registry.net-3.5.installed == '1'}" />
<!-- detect if .net 4.0 is installed -->
<property name="net-4.0" value="false"/>
<property name="registry.net-4.0.installed" value="0" overwrite="false"/>
<readregistry property="registry.net-4.0.installed"
key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Install"
hive="LocalMachine"
failonerror="false" />
<property name="net-4.0.installed" value="${registry.net-4.0.installed == '1'}" />
<!-- detect if .net 4.5 is installed -->
<property name="net-4.5" value="false"/>
<property name="registry.net-4.5.installed" value="0" overwrite="false"/>
<readregistry property="registry.net-4.5.installed"
key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Version"
hive="LocalMachine"
failonerror="false" />
<property name="net-4.5.installed" value="${string::starts-with(registry.net-4.5.installed, '4.5.') == true}" />
<readregistry property="vs-net90.dir" key="SOFTWARE\Microsoft\VisualStudio\9.0\InstallDir" hive="LocalMachine" failonerror="false"/>
<!-- default location of mstest executable and reference assemblies -->
<property name="mstest.exe" value="${vs-net90.dir}/mstest.exe" if="${property::exists('vs-net90-dir')}" />
<target name="check-bin-dir">
<if test="${not property::exists('bin.dir')}">
<property name="bin.dir" value="${project::get-base-directory()}/build"/>
</if>
<mkdir dir="${bin.dir}"/>
</target>
<target name="check-build-debug">
<if test="${not property::exists('build.debug')}">
<fail message="The build debug setting has not been specified."/>
</if>
</target>
<target name="check-build-defines">
<if test="${not property::exists('build.defines.csc')}">
<fail message="The build defines for the csc task have not been specified."/>
</if>
<if test="${not property::exists('build.defines.jsc')}">
<fail message="The build defines for the jsc task have not been specified."/>
</if>
<if test="${not property::exists('build.defines.vbc')}">
<fail message="The build defines for the vbc task have not been specified."/>
</if>
<if test="${not property::exists('build.defines.vjc')}">
<fail message="The build defines for the vjc task have not been specified."/>
</if>
<if test="${not property::exists('build.defines.cl')}">
<fail message="The build defines for the cl task have not been specified."/>
</if>
</target>
<target name="check-doc-dir">
<if test="${not property::exists('doc.dir')}">
<property name="doc.dir" value="doc"/>
</if>
<mkdir dir="${doc.dir}"/>
</target>
<target name="check-sdkdoc-dir" depends="check-doc-dir">
<if test="${not property::exists('sdkdoc.dir')}">
<property name="sdkdoc.dir" value="${doc.dir}/sdk"/>
</if>
<mkdir dir="${sdkdoc.dir}"/>
</target>
<target name="check-sdkdoc-debug">
<if test="${not property::exists('sdkdoc.debug')}">
<fail message="The sdk documentation debug setting has not been specified."/>
</if>
</target>
<target name="check-current-bin-dir">
<if test="${not property::exists('current.bin.dir')}">
<fail message="The current binaries directory has not been specified."/>
</if>
<mkdir dir="${current.bin.dir}"/>
</target>
<target name="check-current-build-debug">
<if test="${not property::exists('current.build.debug')}">
<fail message="The current build debug setting has not been specified."/>
</if>
</target>
<target name="check-current-build-defines">
<if test="${not property::exists('current.build.defines.csc')}">
<fail message="The current build defines for the csc task have not been specified."/>
</if>
<if test="${not property::exists('current.build.defines.jsc')}">
<fail message="The current build defines for the jsc task have not been specified."/>
</if>
<if test="${not property::exists('current.build.defines.vbc')}">
<fail message="The current build defines for the vbc task have not been specified."/>
</if>
<if test="${not property::exists('current.build.defines.vjc')}">
<fail message="The current build defines for the vjc task have not been specified."/>
</if>
<if test="${not property::exists('current.build.defines.cl')}">
<fail message="The current build defines for the cl task have not been specified."/>
</if>
</target>
<target name="check-current-sdkdoc-dir">
<if test="${not property::exists('current.sdkdoc.dir')}">
<fail message="The current sdk document directory has not been specified."/>
</if>
<mkdir dir="${sdkdoc.dir}"/>
</target>
<target name="check-current-sdkdoc-debug">
<if test="${not property::exists('current.sdkdoc.debug')}">
<fail message="The current sdk documentation debug setting has not been specified."/>
</if>
</target>
<target name="check-current-build-config">
<if test="${not property::exists('current.build.config')}">
<if test="${not property::exists('project.build.config')}">
<fail message="The build configuration has not been specified and no default build configuration is available."/>
</if>
<if test="${property::exists('project.build.config')}">
<property name="current.build.config" value="${project.build.config}"/>
</if>
</if>
</target>
<target name="check-spring-basedir">
<if test="${not property::exists('spring.basedir')}">
<fail message="The spring base directory has not been specified."/>
</if>
</target>
<target name="check-spring-output-dir">
<if test="${not property::exists('spring.output.dir')}">
<fail message="The log4net output directory has not been specified."/>
</if>
</target>
<target name="check-spring-assembly" depends="check-current-build-config, check-spring-output-dir">
<if test="${not file::exists(path::combine(spring.output.dir, 'Spring.Core.dll'))}">
<fail message="The Spring.Core '${current.build.config}' assembly for ${framework::get-description(framework::get-target-framework())} is not available."/>
</if>
</target>
<!-- Targets for cleaning up -->
<target name="clean-current-bin-dir" depends="check-current-bin-dir"
description="Cleans the current binaries directory">
<echo message="Cleaning the ${current.bin.dir} binaries directory."/>
<delete dir="${current.bin.dir}" if="${directory::exists(current.bin.dir)}"/>
<mkdir dir="${current.bin.dir}"/>
</target>
<target name="clean-current-sdkdoc-dir" depends="check-current-sdkdoc-dir"
description="Cleans the current SDK documentation directory">
<echo message="Cleaning the ${current.sdkdoc.dir} SDK documentation directory."/>
<delete dir="${current.sdkdoc.dir}" if="${directory::exists(current.sdkdoc.dir)}"/>
<mkdir dir="${current.sdkdoc.dir}"/>
</target>
<!-- Targets for setting up the environment -->
<target name="set-build-configuration" depends="check-current-build-config">
<property name="doc.dir" value="${project::get-base-directory()}/doc"/>
<!-- TODO externalize this value into a property -->
<property name="NDoc.home" value="C:\Program Files\NDoc 1.3\bin\net\1.1"/>
<!--
if Visual Studio Help Integration Kit has been installed
then change this to true or define the vshik.installed
property to the value 'true'.
It generates Visual Studio.NET 2003 documentation.
-->
<property name="vshik.installed" value="false" overwrite="false"/>
<!-- 1591 - do not report warnings for missing XML comments -->
<!-- 0618 - do not report deprecation warnings -->
<!-- 0067 - do not report uncalled events -->
<!-- 1607 - disable AssemblyInformationalVersionAttribute is not in the normal 'major.minor.build.revision' format msgs -->
<property name="nowarn.numbers" value="0618,1607"/>
<!-- use a different set of warnings for building the tests -->
<!-- TODO: "nowarn.numbers.test.default" should be "current.nowarn.numbers.test" -->
<property name="nowarn.numbers.test.default" value="1591,0618,0067,1607"/>
<if test="${not target::exists('set-' + current.build.config + '-build-configuration')}">
<fail message="The ${current.build.config} build configuration is not supported by ${project.name}."/>
</if>
<call target="set-${current.build.config}-build-configuration"/>
</target>
<target name="generate-build-number">
<script language="C#">
<imports>
<import namespace="System.Globalization" />
<import namespace="System.Threading" />
</imports>
<code>
<!-- format for assembly revision is RRXXX where RR = framework number (1.0=10; 1.1=11; 2.0=20, 3.0=30, 3.5=35, 4.0=40 etc.) and
XXX is the number of days from the year the project 'started', property project.year. -->
<![CDATA[
public static void ScriptMain(Project project) {
string frameworkRevisionNumber = project.Properties["nant.settings.currentframework.revisionnumber"];
int startYear = Convert.ToInt32(project.Properties["project.year"]);
DateTime start = new DateTime(startYear, 1, 1);
TimeSpan ts = DateTime.Now - start;
int days = ts.Days;
/* string version = project.Properties["package.version"].ToString() + "." + frameworkRevisionNumber + days.ToString(); */
string version = project.Properties["package.version"].ToString() + "." + frameworkRevisionNumber + project.Properties["package.buildincrement"].ToString();
project.Properties["project.version.numeric"] = version.ToString();
}
]]>
</code>
</script>
</target>
<target name="common.set-assembly-attribute-values" depends="generate-build-number">
<property name="assembly.is-cls-compliant" value="true" />
<property name="assembly.configuration" value="${nant.settings.currentframework}.win32; ${current.build.config}"/>
<if test="${nant.settings.currentframework!='mono-2.0'}">
<property name="assembly.product" value="${project.name.full} ${package.version} for .NET ${nant.settings.currentframework.number}" />-->
</if>
<if test="${nant.settings.currentframework=='mono-2.0'}">
<property name="assembly.product" value="${project.name.full} ${package.version} for .NET ${nant.settings.currentframework.number} (MONO)" />
</if>
<property name="assembly.company" value="${project.company}" />
<property name="assembly.copyright" value="${project.copyright}" />
<property name="assembly.trademark" value="Apache License, Version 2.0" />
<property name="assembly.culture" value=""/>
<property name="assembly.version" value="${project.version.numeric}" />
<property name="assembly.delay.sign" value="false" />
<property name="assembly.keyfile" value="${key.file}" />
<property name="assembly.version.informational" value="${project.version.numeric}" />
<property name="assembly.version.informational" value="${project.version.numeric + '-' + nuget.version.suffix}" if="${property::exists('nuget.version.suffix')}" />
<!--
<property name="assembly.title" value="${project::get-name()}" />
<property name="assembly.description" value="" />
-->
</target>
<target name="common.generate-assemblyinfo"
depends="common.set-assembly-attribute-values"
description="Generate AssemblyInfo.cs using assembly.* properties."
>
<asminfo output="src/Spring/GenCommonAssemblyInfo.cs" language="CSharp">
<imports>
<import namespace="System" />
<import namespace="System.Reflection" />
</imports>
<attributes>
<attribute type="CLSCompliantAttribute" value="${assembly.is-cls-compliant}" />
<attribute type="AssemblyConfigurationAttribute" value="${assembly.configuration}" />
<attribute type="AssemblyProductAttribute" value="${assembly.product}" />
<attribute type="AssemblyCompanyAttribute" value="${assembly.company}" />
<attribute type="AssemblyCopyrightAttribute" value="${assembly.copyright}" />
<attribute type="AssemblyTrademarkAttribute" value="${assembly.trademark}" />
<attribute type="AssemblyCultureAttribute" value="${assembly.culture}" />
<attribute type="AssemblyVersionAttribute" value="${assembly.version}" />
<attribute type="AssemblyDelaySignAttribute" value="false"/>
<attribute type="AssemblyInformationalVersionAttribute" value="${assembly.version.informational}" />
<!--
<attribute type="AssemblyTitleAttribute" value="${assembly.title}" />
<attribute type="AssemblyDescriptionAttribute" value="${assembly.description}" />
<attribute type="AssemblyFileVersionAttribute" value="${assembly.version.file}" />
-->
</attributes>
</asminfo>
</target>
<target name="set-debug-build-configuration">
<property name="compiler.args" value=""/>
<property name="net-2.0" value="false"/>
<property name="build.optimize" value="false"/>
<property name="build.debug" value="Full"/>
<property name="build.defines.csc" value="DEBUG,TRACE"/>
<property name="build.defines.jsc" value="DEBUG,TRACE"/>
<property name="build.defines.vbc" value="DEBUG=True,TRACE=True"/>
<property name="build.defines.vjc" value="DEBUG,TRACE"/>
<property name="build.defines.cl" value="/D _DEBUG"/>
<property name="sdkdoc.debug" value="false"/>
<property name="current.build.config" value="debug"/>
<call target="set-build-configuration-flags"/>
</target>
<target name="set-release-build-configuration">
<property name="compiler.args" value=""/>
<property name="net-2.0" value="false"/>
<property name="build.optimize" value="true"/>
<property name="build.debug" value="PdbOnly"/>
<property name="build.defines.csc" value="TRACE,STRONG"/>
<property name="build.defines.jsc" value="TRACE,STRONG"/>
<property name="build.defines.vbc" value="TRACE=True,STRONG=True"/>
<property name="build.defines.vjc" value="TRACE,STRONG"/>
<property name="build.defines.cl" value="/D STRONG"/>
<property name="sdkdoc.debug" value="false"/>
<property name="current.build.config" value="release"/>
<call target="set-build-configuration-flags"/>
</target>
<target name="set-build-configuration-flags" depends="check-current-build-config">
<property name="current.build.config.debug" value="false"/>
<property name="current.build.config.release" value="false"/>
<property name="current.build.config.${current.build.config}" value="true"/>
</target>
<target name="set-framework-configuration" depends="check-current-build-config">
<if test="${not target::exists('set-' + framework::get-target-framework() + '-runtime-configuration')}">
<fail message="The current target framework (${framework::get-description(framework::get-target-framework())}) is not supported by Spring.NET."/>
</if>
<call target="set-${framework::get-target-framework()}-runtime-configuration"/>
</target>
<target name="set-net-3.5-runtime-configuration"
depends="check-bin-dir, check-sdkdoc-dir, check-sdkdoc-debug, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="net-3.5"/>
<property name="nant.settings.currentframework.number" value="3.5"/>
<!-- revision number used when generating assembly info -->
<property name="nant.settings.currentframework.revisionnumber" value="35"/>
<property name="net-2.0" value="true"/>
<property name="net-3.0" value="true"/>
<property name="net-3.5" value="true"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},NET,NET_2_0,NET_3_0,NET_3_5" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D NET /D NET_2_0 /D NET_3_0 /D NET_3_5" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/3.5/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/3.5"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default},1701"/>
</target>
<target name="set-net-4.0-runtime-configuration"
depends="check-bin-dir, check-sdkdoc-dir, check-sdkdoc-debug, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="net-4.0"/>
<property name="nant.settings.currentframework.number" value="4.0"/>
<!-- revision number used when generating assembly info -->
<property name="nant.settings.currentframework.revisionnumber" value="40"/>
<property name="net-2.0" value="true"/>
<property name="net-3.0" value="true"/>
<property name="net-3.5" value="true"/>
<property name="net-4.0" value="true"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},NET,NET_2_0,NET_3_0,NET_3_5,NET_4_0" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D NET /D NET_2_0 /D NET_3_0 /D NET_3_5 /D NET_4_0" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/4.0/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/4.0"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default},1701"/>
</target>
<target name="set-net-4.5-runtime-configuration"
depends="check-bin-dir, check-sdkdoc-dir, check-sdkdoc-debug, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="net-4.5"/>
<property name="nant.settings.currentframework.number" value="4.5"/>
<!-- revision number used when generating assembly info -->
<property name="nant.settings.currentframework.revisionnumber" value="45"/>
<property name="net-2.0" value="true"/>
<property name="net-3.0" value="true"/>
<property name="net-3.5" value="true"/>
<property name="net-4.0" value="true"/>
<property name="net-4.5" value="true"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},NET,NET_2_0,NET_3_0,NET_3_5,NET_4_0,NET_4_0" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D NET /D NET_2_0 /D NET_3_0 /D NET_3_5 /D NET_4_0 /D NET_4_5" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/4.5/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/4.5"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default},1701"/>
</target>
<target name="set-netcf-1.0-runtime-configuration"
depends="check-bin-dir, check-sdkdoc-dir, check-sdkdoc-debug, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="netcf-1.0"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},NETCF,NETCF_1_0" dynamic="true"/>
<property name="current.build.defines.jsc" value="${build.defines.jsc},NETCF,NETCF_1_0" dynamic="true"/>
<property name="current.build.defines.vbc" value="${build.defines.vbc},NETCF=True" dynamic="true"/>
<property name="current.build.defines.vjc" value="${build.defines.vjc},NETCF" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D NETCF /D NETCF_1_0" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="link.sdkdoc.version" value="SDK_v1_1"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default}"/>
</target>
<target name="set-mono-1.0-runtime-configuration"
depends="check-bin-dir, check-sdkdoc-dir, check-sdkdoc-debug, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="mono-1.0"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},MONO,MONO_1_0" dynamic="true"/>
<property name="current.build.defines.jsc" value="${build.defines.jsc},MONO,MONO_1_0" dynamic="true"/>
<property name="current.build.defines.vbc" value="${build.defines.vbc},MONO=True,MONO_1_0=True" dynamic="true"/>
<property name="current.build.defines.vjc" value="${build.defines.vjc},MONO,MONO_1_0" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D MONO /D MONO_1_0" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="link.sdkdoc.version" value="MsdnOnline"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default}"/>
</target>
<target name="set-mono-2.0-runtime-configuration"
depends="check-bin-dir, check-sdkdoc-dir, check-sdkdoc-debug, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="mono-2.0"/>
<property name="nant.settings.currentframework.number" value="2.0"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},MONO,NET_2_0,MONO_2_0" dynamic="true"/>
<property name="current.build.defines.jsc" value="${build.defines.jsc},MONO,NET_2_0,MONO_2_0" dynamic="true"/>
<property name="current.build.defines.vbc" value="${build.defines.vbc},MONO=True,NET_2_0,MONO_2_0=True" dynamic="true"/>
<property name="current.build.defines.vjc" value="${build.defines.vjc},MONO,NET_2_0,MONO_2_0" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D MONO /D MONO_2_0 /D NET_2_0" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="link.sdkdoc.version" value="MsdnOnline"/>
<property name="nowarn.numbers" value="${nowarn.numbers},0169,0414,0219"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default},0414"/>
</target>
<target name="set-sscli-1.0-runtime-configuration"
depends="check-bin-dir, check-current-build-config, check-build-debug, check-build-defines">
<property name="nant.settings.currentframework" value="sscli-1.0"/>
<property name="current.build.debug" value="${build.debug}" dynamic="true"/>
<property name="current.build.defines.csc" value="${build.defines.csc},SSCLI,SSCLI_1_0" dynamic="true"/>
<property name="current.build.defines.jsc" value="${build.defines.jsc},SSCLI,SSCLI_1_0" dynamic="true"/>
<property name="current.build.defines.vbc" value="${build.defines.vbc},SSCLI=True,SSCLI_1_0=True"
dynamic="true"/>
<property name="current.build.defines.vjc" value="${build.defines.vjc},SSCLI,SSCLI_1_0" dynamic="true"/>
<property name="current.build.defines.cl" value="${build.defines.cl} /D SSCLI /D SSCLI_1_0" dynamic="true"/>
<property name="current.bin.dir"
value="${bin.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}/${current.build.config}"/>
<property name="current.sdkdoc.dir"
value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}"/>
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true"/>
<property name="link.sdkdoc.version" value="MsdnOnline"/>
<property name="nowarn.numbers.test" value="${nowarn.numbers.test.default}"/>
</target>
</project>