Update README.txt
[GitSharp.git] / tools / nant / NAnt.exe.config
blob39982a4f30ef79ea7edd048c6dbb4ab8fa9a91b3
1 <?xml version="1.0"?>
2 <configuration>
3 <!-- Leave this alone. Sets up configsectionhandler section -->
4 <configSections>
5 <section name="nant" type="NAnt.Core.ConfigurationSection, NAnt.Core" />
6 <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
7 </configSections>
8 <appSettings>
9 <!-- Used to indicate the location of the cache folder for shadow files -->
10 <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
11 <!-- Used to indicate that NAnt should shadow copy files in a cache folder near the executable -->
12 <add key="nant.shadowfiles" value="False" />
13 <!-- Used to indicate if cached files should be deleted when done running-->
14 <add key="nant.shadowfiles.cleanup" value="False" />
15 <!-- To enable internal log4net logging, uncomment the next line -->
16 <!-- <add key="log4net.Internal.Debug" value="true"/> -->
17 </appSettings>
18 <!-- nant config settings -->
19 <nant>
20 <frameworks>
21 <platform name="win32" default="auto">
22 <task-assemblies>
23 <!-- include NAnt task assemblies -->
24 <include name="*Tasks.dll" />
25 <!-- include NAnt test assemblies -->
26 <include name="*Tests.dll" />
27 <!-- include framework-neutral assemblies -->
28 <include name="extensions/common/neutral/**/*.dll" />
29 <!-- exclude Microsoft.NET specific task assembly -->
30 <exclude name="NAnt.MSNetTasks.dll" />
31 <!-- exclude Microsoft.NET specific test assembly -->
32 <exclude name="NAnt.MSNet.Tests.dll" />
33 </task-assemblies>
34 <framework
35 name="net-1.0"
36 family="net"
37 version="1.0"
38 description="Microsoft .NET Framework 1.0"
39 sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
40 frameworkdirectory="${path::combine(installRoot, 'v1.0.3705')}"
41 frameworkassemblydirectory="${path::combine(installRoot, 'v1.0.3705')}"
42 clrversion="1.0.3705"
43 clrtype="Desktop"
44 vendor="Microsoft"
46 <runtime>
47 <probing-paths>
48 <directory name="lib/net/1.0" />
49 <directory name="lib/net/neutral" />
50 <directory name="lib/common/1.0" />
51 <directory name="lib/common/neutral" />
52 </probing-paths>
53 <modes>
54 <strict>
55 <environment>
56 <variable name="COMPLUS_VERSION" value="v1.0.3705" />
57 </environment>
58 </strict>
59 </modes>
60 </runtime>
61 <reference-assemblies basedir="${path::combine(installRoot, 'v1.0.3705')}">
62 <include name="Accessibility.dll" />
63 <include name="cscompmgd.dll" />
64 <include name="mscorlib.dll" />
65 <include name="Microsoft.Vsa.dll" />
66 <include name="Microsoft.VisualBasic.dll" />
67 <include name="System.Configuration.Install.dll" />
68 <include name="System.Data.dll" />
69 <include name="System.Design.dll" />
70 <include name="System.DirectoryServices.dll" />
71 <include name="System.dll" />
72 <include name="System.Drawing.Design.dll" />
73 <include name="System.Drawing.dll" />
74 <include name="System.EnterpriseServices.dll" />
75 <include name="System.Management.dll" />
76 <include name="System.Messaging.dll" />
77 <include name="System.Runtime.Remoting.dll" />
78 <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
79 <include name="System.Security.dll" />
80 <include name="System.ServiceProcess.dll" />
81 <include name="System.Web.dll" />
82 <include name="System.Web.RegularExpressions.dll" />
83 <include name="System.Web.Services.dll" />
84 <include name="System.Windows.Forms.dll" />
85 <include name="System.XML.dll" />
86 </reference-assemblies>
87 <task-assemblies>
88 <!-- include MS.NET version-neutral assemblies -->
89 <include name="extensions/net/neutral/**/*.dll" />
90 <!-- include MS.NET 1.0 specific assemblies -->
91 <include name="extensions/net/1.0/**/*.dll" />
92 <!-- include Microsoft.NET specific task assembly -->
93 <include name="NAnt.MSNetTasks.dll" />
94 <!-- include Microsoft.NET specific test assembly -->
95 <include name="NAnt.MSNet.Tests.dll" />
96 <!-- include .NET 1.0 specific assemblies -->
97 <include name="extensions/common/1.0/**/*.dll" />
98 </task-assemblies>
99 <tool-paths>
100 <directory name="${path::combine(sdkInstallRoot, 'bin')}"
101 if="${property::exists('sdkInstallRoot')}" />
102 <directory name="${path::combine(installRoot, 'v1.0.3705')}" />
103 </tool-paths>
104 <project>
105 <readregistry
106 property="installRoot"
107 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
108 hive="LocalMachine" />
109 <readregistry
110 property="sdkInstallRoot"
111 key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot"
112 hive="LocalMachine"
113 failonerror="false" />
114 </project>
115 <tasks>
116 <task name="csc">
117 <attribute name="supportsnowarnlist">true</attribute>
118 </task>
119 <task name="vjc">
120 <attribute name="supportsnowarnlist">true</attribute>
121 </task>
122 <task name="delay-sign">
123 <attribute name="exename">sn</attribute>
124 </task>
125 <task name="license">
126 <attribute name="exename">lc</attribute>
127 </task>
128 <task name="aximp">
129 <attribute name="supportsrcw">false</attribute>
130 </task>
131 <task name="tlbimp">
132 <attribute name="supportstransform">false</attribute>
133 </task>
134 </tasks>
135 </framework>
136 <framework
137 name="net-1.1"
138 family="net"
139 version="1.1"
140 description="Microsoft .NET Framework 1.1"
141 sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
142 frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
143 frameworkassemblydirectory="${path::combine(installRoot, 'v1.1.4322')}"
144 clrversion="1.1.4322"
145 clrtype="Desktop"
146 vendor="Microsoft"
148 <runtime>
149 <probing-paths>
150 <directory name="lib/net/1.1" />
151 <directory name="lib/net/neutral" />
152 <directory name="lib/common/1.1" />
153 <directory name="lib/common/neutral" />
154 </probing-paths>
155 <modes>
156 <strict>
157 <environment>
158 <variable name="COMPLUS_VERSION" value="v1.1.4322" />
159 </environment>
160 </strict>
161 </modes>
162 </runtime>
163 <reference-assemblies basedir="${path::combine(installRoot, 'v1.1.4322')}">
164 <include name="Accessibility.dll" />
165 <include name="cscompmgd.dll" />
166 <include name="mscorlib.dll" />
167 <include name="Microsoft.Vsa.dll" />
168 <include name="Microsoft.VisualBasic.dll" />
169 <include name="Microsoft.VisualBasic.Compatibility.dll" />
170 <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
171 <include name="System.Configuration.Install.dll" />
172 <include name="System.Data.dll" />
173 <include name="System.Data.OracleClient.dll" />
174 <include name="System.Design.dll" />
175 <include name="System.DirectoryServices.dll" />
176 <include name="System.dll" />
177 <include name="System.Drawing.Design.dll" />
178 <include name="System.Drawing.dll" />
179 <include name="System.EnterpriseServices.dll" />
180 <include name="System.Management.dll" />
181 <include name="System.Messaging.dll" />
182 <include name="System.Runtime.Remoting.dll" />
183 <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
184 <include name="System.Security.dll" />
185 <include name="System.ServiceProcess.dll" />
186 <include name="System.Web.dll" />
187 <include name="System.Web.Mobile.dll" />
188 <include name="System.Web.RegularExpressions.dll" />
189 <include name="System.Web.Services.dll" />
190 <include name="System.Windows.Forms.dll" />
191 <include name="System.XML.dll" />
192 </reference-assemblies>
193 <task-assemblies>
194 <!-- include MS.NET version-neutral assemblies -->
195 <include name="extensions/net/neutral/**/*.dll" />
196 <!-- include MS.NET 1.1 specific assemblies -->
197 <include name="extensions/net/1.1/**/*.dll" />
198 <!-- include MS.NET specific task assembly -->
199 <include name="NAnt.MSNetTasks.dll" />
200 <!-- include MS.NET specific test assembly -->
201 <include name="NAnt.MSNet.Tests.dll" />
202 <!-- include .NET 1.1 specific assemblies -->
203 <include name="extensions/common/1.1/**/*.dll" />
204 </task-assemblies>
205 <tool-paths>
206 <directory name="${path::combine(sdkInstallRoot, 'bin')}"
207 if="${property::exists('sdkInstallRoot')}" />
208 <directory name="${path::combine(installRoot, 'v1.1.4322')}" />
209 </tool-paths>
210 <project>
211 <readregistry
212 property="installRoot"
213 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
214 hive="LocalMachine" />
215 <readregistry
216 property="sdkInstallRoot"
217 key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1"
218 hive="LocalMachine"
219 failonerror="false" />
220 </project>
221 <tasks>
222 <task name="csc">
223 <attribute name="supportsnowarnlist">true</attribute>
224 </task>
225 <task name="vjc">
226 <attribute name="supportsnowarnlist">true</attribute>
227 </task>
228 <task name="delay-sign">
229 <attribute name="exename">sn</attribute>
230 </task>
231 <task name="license">
232 <attribute name="exename">lc</attribute>
233 </task>
234 </tasks>
235 </framework>
236 <framework
237 name="net-2.0"
238 family="net"
239 version="2.0"
240 description="Microsoft .NET Framework 2.0"
241 sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
242 frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}"
243 frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
244 clrversion="2.0.50727"
245 clrtype="Desktop"
246 vendor="Microsoft"
248 <runtime>
249 <probing-paths>
250 <directory name="lib/net/2.0" />
251 <directory name="lib/net/neutral" />
252 <directory name="lib/common/2.0" />
253 <directory name="lib/common/neutral" />
254 </probing-paths>
255 <modes>
256 <strict>
257 <environment>
258 <variable name="COMPLUS_VERSION" value="v2.0.50727" />
259 </environment>
260 </strict>
261 </modes>
262 </runtime>
263 <reference-assemblies basedir="${path::combine(installRoot, 'v2.0.50727')}">
264 <include name="Accessibility.dll" />
265 <include name="cscompmgd.dll" />
266 <include name="mscorlib.dll" />
267 <include name="Microsoft.Build.Engine.dll" />
268 <include name="Microsoft.Build.Framework.dll" />
269 <include name="Microsoft.Build.Utilities.dll" />
270 <include name="Microsoft.Vsa.dll" />
271 <include name="Microsoft.VisualBasic.dll" />
272 <include name="Microsoft.VisualBasic.Compatibility.dll" />
273 <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
274 <include name="System.Configuration.dll" />
275 <include name="System.Configuration.Install.dll" />
276 <include name="System.Data.dll" />
277 <include name="System.Data.OracleClient.dll" />
278 <include name="System.Data.SqlXml.dll" />
279 <include name="System.Deployment.dll" />
280 <include name="System.Design.dll" />
281 <include name="System.DirectoryServices.dll" />
282 <include name="System.dll" />
283 <include name="System.Drawing.Design.dll" />
284 <include name="System.Drawing.dll" />
285 <include name="System.EnterpriseServices.dll" />
286 <include name="System.Management.dll" />
287 <include name="System.Messaging.dll" />
288 <include name="System.Runtime.Remoting.dll" />
289 <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
290 <include name="System.Security.dll" />
291 <include name="System.ServiceProcess.dll" />
292 <include name="System.Transactions.dll" />
293 <include name="System.Web.dll" />
294 <include name="System.Web.Mobile.dll" />
295 <include name="System.Web.RegularExpressions.dll" />
296 <include name="System.Web.Services.dll" />
297 <include name="System.Windows.Forms.dll" />
298 <include name="System.XML.dll" />
299 </reference-assemblies>
300 <task-assemblies>
301 <!-- include MS.NET version-neutral assemblies -->
302 <include name="extensions/net/neutral/**/*.dll" />
303 <!-- include MS.NET 2.0 specific assemblies -->
304 <include name="extensions/net/2.0/**/*.dll" />
305 <!-- include MS.NET specific task assembly -->
306 <include name="NAnt.MSNetTasks.dll" />
307 <!-- include MS.NET specific test assembly -->
308 <include name="NAnt.MSNet.Tests.dll" />
309 <!-- include .NET 2.0 specific assemblies -->
310 <include name="extensions/common/2.0/**/*.dll" />
311 </task-assemblies>
312 <tool-paths>
313 <directory name="${path::combine(sdkInstallRoot, 'bin')}"
314 if="${property::exists('sdkInstallRoot')}" />
315 <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
316 </tool-paths>
317 <project>
318 <readregistry
319 property="installRoot"
320 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
321 hive="LocalMachine" />
322 <readregistry
323 property="sdkInstallRoot"
324 key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
325 hive="LocalMachine"
326 failonerror="false" />
327 </project>
328 <tasks>
329 <task name="csc">
330 <attribute name="supportsnowarnlist">true</attribute>
331 <attribute name="supportswarnaserrorlist">true</attribute>
332 <attribute name="supportskeycontainer">true</attribute>
333 <attribute name="supportskeyfile">true</attribute>
334 <attribute name="supportsdelaysign">true</attribute>
335 <attribute name="supportsplatform">true</attribute>
336 <attribute name="supportslangversion">true</attribute>
337 </task>
338 <task name="vbc">
339 <attribute name="supportsdocgeneration">true</attribute>
340 <attribute name="supportsnostdlib">true</attribute>
341 <attribute name="supportsnowarnlist">true</attribute>
342 <attribute name="supportskeycontainer">true</attribute>
343 <attribute name="supportskeyfile">true</attribute>
344 <attribute name="supportsdelaysign">true</attribute>
345 <attribute name="supportsplatform">true</attribute>
346 <attribute name="supportswarnaserrorlist">true</attribute>
347 </task>
348 <task name="jsc">
349 <attribute name="supportsplatform">true</attribute>
350 </task>
351 <task name="vjc">
352 <attribute name="supportsnowarnlist">true</attribute>
353 <attribute name="supportskeycontainer">true</attribute>
354 <attribute name="supportskeyfile">true</attribute>
355 <attribute name="supportsdelaysign">true</attribute>
356 </task>
357 <task name="resgen">
358 <attribute name="supportsassemblyreferences">true</attribute>
359 <attribute name="supportsexternalfilereferences">true</attribute>
360 </task>
361 <task name="delay-sign">
362 <attribute name="exename">sn</attribute>
363 </task>
364 <task name="license">
365 <attribute name="exename">lc</attribute>
366 <attribute name="supportsassemblyreferences">true</attribute>
367 </task>
368 </tasks>
369 </framework>
370 <framework
371 name="net-3.5"
372 family="net"
373 version="3.5"
374 description="Microsoft .NET Framework 3.5"
375 sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
376 frameworkdirectory="${path::combine(installRoot, 'v3.5')}"
377 frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
378 clrversion="2.0.50727"
379 clrtype="Desktop"
380 vendor="Microsoft"
382 <runtime>
383 <probing-paths>
384 <directory name="lib/net/2.0" />
385 <directory name="lib/net/neutral" />
386 <directory name="lib/common/2.0" />
387 <directory name="lib/common/neutral" />
388 </probing-paths>
389 <modes>
390 <strict>
391 <environment>
392 <variable name="COMPLUS_VERSION" value="v2.0.50727" />
393 </environment>
394 </strict>
395 </modes>
396 </runtime>
397 <reference-assemblies basedir="${path::combine(installRoot, 'v2.0.50727')}">
398 <include name="Accessibility.dll" />
399 <include name="cscompmgd.dll" />
400 <include name="mscorlib.dll" />
401 <include name="Microsoft.Build.Utilities.dll" />
402 <include name="Microsoft.Vsa.dll" />
403 <include name="Microsoft.VisualBasic.dll" />
404 <include name="Microsoft.VisualBasic.Compatibility.dll" />
405 <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
406 <include name="System.Configuration.dll" />
407 <include name="System.Configuration.Install.dll" />
408 <include name="System.Data.dll" />
409 <include name="System.Data.OracleClient.dll" />
410 <include name="System.Data.SqlXml.dll" />
411 <include name="System.Deployment.dll" />
412 <include name="System.Design.dll" />
413 <include name="System.DirectoryServices.dll" />
414 <include name="System.dll" />
415 <include name="System.Drawing.Design.dll" />
416 <include name="System.Drawing.dll" />
417 <include name="System.EnterpriseServices.dll" />
418 <include name="System.Management.dll" />
419 <include name="System.Messaging.dll" />
420 <include name="System.Runtime.Remoting.dll" />
421 <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
422 <include name="System.Security.dll" />
423 <include name="System.ServiceProcess.dll" />
424 <include name="System.Transactions.dll" />
425 <include name="System.Web.dll" />
426 <include name="System.Web.Mobile.dll" />
427 <include name="System.Web.RegularExpressions.dll" />
428 <include name="System.Web.Services.dll" />
429 <include name="System.Windows.Forms.dll" />
430 <include name="System.XML.dll" />
431 </reference-assemblies>
432 <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/v3.5">
433 <include name="Microsoft.Build.Engine.dll" />
434 <include name="Microsoft.Build.Framework.dll" />
435 <include name="System.AddIn.Contract.dll" />
436 <include name="System.AddIn.dll" />
437 <include name="System.Core.dll" />
438 <include name="System.Data.DataSetExtensions.dll" />
439 <include name="System.Data.Linq.dll" />
440 <include name="System.DirectoryServices.AccountManagement.dll" />
441 <include name="System.Management.Instrumentation.dll" />
442 <include name="System.Net.dll" />
443 <include name="System.ServiceModel.Web.dll" />
444 <include name="System.Web.Extensions.Design.dll" />
445 <include name="System.Web.Extensions.dll" />
446 <include name="System.Windows.Presentation.dll" />
447 <include name="System.WorkflowServices.dll" />
448 <include name="System.Xml.Linq.dll" />
449 </reference-assemblies>
450 <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/v3.0">
451 <include name="System.IdentityModel.dll" />
452 <include name="System.IdentityModel.Selectors.dll" />
453 <include name="System.IO.Log.dll" />
454 <include name="System.Printing.dll" />
455 <include name="System.Runtime.Serialization.dll" />
456 <include name="System.ServiceModel.dll" />
457 <include name="System.Speech.dll" />
458 <include name="System.Workflow.Activities.dll" />
459 <include name="System.Workflow.ComponentModel.dll" />
460 <include name="System.Workflow.Runtime.dll" />
461 <include name="WindowsBase.dll" />
462 </reference-assemblies>
463 <task-assemblies>
464 <!-- include MS.NET version-neutral assemblies -->
465 <include name="extensions/net/neutral/**/*.dll" />
466 <!-- include MS.NET 2.0 specific assemblies -->
467 <include name="extensions/net/2.0/**/*.dll" />
468 <!-- include MS.NET specific task assembly -->
469 <include name="NAnt.MSNetTasks.dll" />
470 <!-- include MS.NET specific test assembly -->
471 <include name="NAnt.MSNet.Tests.dll" />
472 <!-- include .NET 2.0 specific assemblies -->
473 <include name="extensions/common/2.0/**/*.dll" />
474 </task-assemblies>
475 <tool-paths>
476 <directory name="${path::combine(sdkInstallRoot, 'bin')}"
477 if="${property::exists('sdkInstallRoot')}" />
478 <directory name="${path::combine(installRoot, 'v3.5')}" />
479 <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
480 </tool-paths>
481 <project>
482 <readregistry
483 property="installRoot"
484 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
485 hive="LocalMachine" />
486 <readregistry
487 property="sdkInstallRoot"
488 key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
489 hive="LocalMachine"
490 failonerror="false" />
491 <readregistry
492 property="sdkInstallRoot"
493 key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\WinSDKNetFxTools\InstallationFolder"
494 hive="LocalMachine"
495 failonerror="false" />
496 </project>
497 <tasks>
498 <task name="csc">
499 <attribute name="supportsnowarnlist">true</attribute>
500 <attribute name="supportswarnaserrorlist">true</attribute>
501 <attribute name="supportskeycontainer">true</attribute>
502 <attribute name="supportskeyfile">true</attribute>
503 <attribute name="supportsdelaysign">true</attribute>
504 <attribute name="supportsplatform">true</attribute>
505 <attribute name="supportslangversion">true</attribute>
506 </task>
507 <task name="vbc">
508 <attribute name="supportsdocgeneration">true</attribute>
509 <attribute name="supportsnostdlib">true</attribute>
510 <attribute name="supportsnowarnlist">true</attribute>
511 <attribute name="supportskeycontainer">true</attribute>
512 <attribute name="supportskeyfile">true</attribute>
513 <attribute name="supportsdelaysign">true</attribute>
514 <attribute name="supportsplatform">true</attribute>
515 <attribute name="supportswarnaserrorlist">true</attribute>
516 </task>
517 <task name="jsc">
518 <attribute name="supportsplatform">true</attribute>
519 </task>
520 <task name="vjc">
521 <attribute name="supportsnowarnlist">true</attribute>
522 <attribute name="supportskeycontainer">true</attribute>
523 <attribute name="supportskeyfile">true</attribute>
524 <attribute name="supportsdelaysign">true</attribute>
525 </task>
526 <task name="resgen">
527 <attribute name="supportsassemblyreferences">true</attribute>
528 <attribute name="supportsexternalfilereferences">true</attribute>
529 </task>
530 <task name="delay-sign">
531 <attribute name="exename">sn</attribute>
532 </task>
533 <task name="license">
534 <attribute name="exename">lc</attribute>
535 <attribute name="supportsassemblyreferences">true</attribute>
536 </task>
537 </tasks>
538 </framework>
539 <framework
540 name="netcf-1.0"
541 family="netcf"
542 version="1.0"
543 description="Microsoft .NET Compact Framework 1.0"
544 sdkdirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}"
545 frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
546 frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}"
547 clrversion="1.1.4322"
548 clrtype="Compact"
549 vendor="Microsoft"
551 <runtime>
552 <modes>
553 <strict>
554 <environment>
555 <variable name="COMPLUS_VERSION" value="v1.1.4322" />
556 </environment>
557 </strict>
558 </modes>
559 </runtime>
560 <reference-assemblies basedir="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}">
561 <include name="*.dll" />
562 </reference-assemblies>
563 <task-assemblies>
564 <!-- this is not a supported runtime framework -->
565 </task-assemblies>
566 <tool-paths>
567 <directory name="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}" />
568 <directory name="${path::combine(installRoot, 'v1.1.4322')}" />
569 <directory name="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}" />
570 </tool-paths>
571 <project>
572 <readregistry
573 property="installRoot"
574 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
575 hive="LocalMachine" />
576 <readregistry
577 property="sdkInstallRoot"
578 key="SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot"
579 hive="LocalMachine" />
580 <readregistry
581 property="sdkInstallRoot.DesktopFramework"
582 key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1"
583 hive="LocalMachine" />
584 <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 1.1 SDK is not installed.</fail>
585 </project>
586 <tasks>
587 <task name="csc">
588 <attribute name="noconfig">true</attribute>
589 <attribute name="nostdlib">true</attribute>
590 <attribute name="supportsnowarnlist">true</attribute>
591 </task>
592 <task name="resgen">
593 <attribute name="exename">cfresgen</attribute>
594 </task>
595 <task name="delay-sign">
596 <attribute name="exename">sn</attribute>
597 </task>
598 <task name="license">
599 <attribute name="exename">lc</attribute>
600 </task>
601 </tasks>
602 </framework>
603 <framework
604 name="netcf-2.0"
605 family="netcf"
606 version="2.0"
607 description="Microsoft .NET Compact Framework 2.0"
608 sdkdirectory="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}"
609 frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}"
610 frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'WindowsCE')}"
611 clrversion="2.0.0"
612 clrtype="Compact"
613 vendor="Microsoft"
615 <runtime>
616 <modes>
617 <strict>
618 <environment>
619 <variable name="COMPLUS_VERSION" value="v2.0.50727" />
620 </environment>
621 </strict>
622 </modes>
623 </runtime>
624 <reference-assemblies basedir="${path::combine(sdkInstallRoot, 'WindowsCE')}">
625 <include name="*.dll" />
626 </reference-assemblies>
627 <task-assemblies>
628 <!-- this is not a supported runtime framework -->
629 </task-assemblies>
630 <tool-paths>
631 <directory name="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}" />
632 </tool-paths>
633 <project>
634 <readregistry
635 property="installRoot"
636 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
637 hive="LocalMachine" />
638 <readregistry
639 property="sdkInstallRoot"
640 key="SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\InstallRoot\"
641 hive="LocalMachine" />
642 <readregistry
643 property="sdkInstallRoot.DesktopFramework"
644 key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
645 hive="LocalMachine" />
646 <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 2.0 SDK is not installed.</fail>
647 </project>
648 <tasks>
649 <task name="csc">
650 <attribute name="noconfig">true</attribute>
651 <attribute name="nostdlib">true</attribute>
652 <attribute name="supportsnowarnlist">true</attribute>
653 <attribute name="supportswarnaserrorlist">true</attribute>
654 <attribute name="supportskeycontainer">true</attribute>
655 <attribute name="supportskeyfile">true</attribute>
656 <attribute name="supportsdelaysign">true</attribute>
657 <attribute name="supportsplatform">true</attribute>
658 <attribute name="supportslangversion">true</attribute>
659 </task>
660 <task name="vbc">
661 <attribute name="nostdlib">true</attribute>
662 <attribute name="supportsdocgeneration">true</attribute>
663 <attribute name="supportsnostdlib">true</attribute>
664 <attribute name="supportsnowarnlist">true</attribute>
665 <attribute name="supportskeycontainer">true</attribute>
666 <attribute name="supportskeyfile">true</attribute>
667 <attribute name="supportsdelaysign">true</attribute>
668 <attribute name="supportsplatform">true</attribute>
669 <attribute name="supportswarnaserrorlist">true</attribute>
670 </task>
671 <task name="resgen">
672 <attribute name="supportsassemblyreferences">true</attribute>
673 <attribute name="supportsexternalfilereferences">true</attribute>
674 </task>
675 <task name="delay-sign">
676 <attribute name="exename">sn</attribute>
677 </task>
678 <task name="license">
679 <attribute name="exename">lc</attribute>
680 <attribute name="supportsassemblyreferences">true</attribute>
681 </task>
682 </tasks>
683 </framework>
684 <framework
685 name="silverlight-2.0"
686 family="silverlight"
687 version="2.0"
688 description="Microsoft Silverlight 2.0"
689 sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
690 frameworkdirectory="${path::combine(installRoot, 'v3.5')}"
691 frameworkassemblydirectory="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight/2.0.31005.0"
692 clrversion="2.0.50727"
693 clrtype="Browser"
694 vendor="Microsoft"
696 <runtime>
697 <modes>
698 <strict>
699 <environment>
700 <variable name="COMPLUS_VERSION" value="v2.0.50727" />
701 </environment>
702 </strict>
703 </modes>
704 </runtime>
705 <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight/2.0.31005.0">
706 <include name="Microsoft.VisualBasic.dll" />
707 <include name="mscorlib.dll" />
708 <include name="System.Core.dll" />
709 <include name="System.dll" />
710 <include name="System.Net.dll" />
711 <include name="System.Runtime.Serialization.dll" />
712 <include name="System.ServiceModel.dll" />
713 <include name="System.ServiceModel.Web.dll" />
714 <include name="System.Windows.Browser.dll" />
715 <include name="System.Windows.dll" />
716 <include name="System.Xml.dll" />
717 </reference-assemblies>
718 <task-assemblies>
719 <!-- include MS.NET version-neutral assemblies -->
720 <include name="extensions/net/neutral/**/*.dll" />
721 <!-- include MS.NET 2.0 specific assemblies -->
722 <include name="extensions/net/2.0/**/*.dll" />
723 <!-- include MS.NET specific task assembly -->
724 <include name="NAnt.MSNetTasks.dll" />
725 <!-- include MS.NET specific test assembly -->
726 <include name="NAnt.MSNet.Tests.dll" />
727 <!-- include .NET 2.0 specific assemblies -->
728 <include name="extensions/common/2.0/**/*.dll" />
729 </task-assemblies>
730 <tool-paths>
731 <directory name="${path::combine(sdkInstallRoot, 'bin')}"
732 if="${property::exists('sdkInstallRoot')}" />
733 <directory name="${path::combine(installRoot, 'v3.5')}" />
734 <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
735 <directory name="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight/2.0.31005.0" />
736 </tool-paths>
737 <project>
738 <readregistry
739 property="installRoot"
740 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
741 hive="LocalMachine" />
742 <readregistry
743 property="sdkInstallRoot"
744 key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
745 hive="LocalMachine"
746 failonerror="false" />
747 <readregistry
748 property="sdkInstallRoot"
749 key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\WinSDKNetFxTools\InstallationFolder"
750 hive="LocalMachine"
751 failonerror="false" />
752 </project>
753 <tasks>
754 <task name="csc">
755 <attribute name="noconfig">true</attribute>
756 <attribute name="nostdlib">true</attribute>
757 <attribute name="supportsnowarnlist">true</attribute>
758 <attribute name="supportswarnaserrorlist">true</attribute>
759 <attribute name="supportskeycontainer">true</attribute>
760 <attribute name="supportskeyfile">true</attribute>
761 <attribute name="supportsdelaysign">true</attribute>
762 <attribute name="supportsplatform">true</attribute>
763 <attribute name="supportslangversion">true</attribute>
764 </task>
765 <task name="vbc">
766 <attribute name="nostdlib">true</attribute>
767 <attribute name="supportsdocgeneration">true</attribute>
768 <attribute name="supportsnostdlib">true</attribute>
769 <attribute name="supportsnowarnlist">true</attribute>
770 <attribute name="supportskeycontainer">true</attribute>
771 <attribute name="supportskeyfile">true</attribute>
772 <attribute name="supportsdelaysign">true</attribute>
773 <attribute name="supportsplatform">true</attribute>
774 <attribute name="supportswarnaserrorlist">true</attribute>
775 </task>
776 <task name="jsc">
777 <attribute name="supportsplatform">true</attribute>
778 </task>
779 <task name="vjc">
780 <attribute name="supportsnowarnlist">true</attribute>
781 <attribute name="supportskeycontainer">true</attribute>
782 <attribute name="supportskeyfile">true</attribute>
783 <attribute name="supportsdelaysign">true</attribute>
784 </task>
785 <task name="resgen">
786 <attribute name="supportsassemblyreferences">true</attribute>
787 <attribute name="supportsexternalfilereferences">true</attribute>
788 </task>
789 <task name="delay-sign">
790 <attribute name="exename">sn</attribute>
791 </task>
792 <task name="license">
793 <attribute name="exename">lc</attribute>
794 <attribute name="supportsassemblyreferences">true</attribute>
795 </task>
796 </tasks>
797 </framework>
798 <framework
799 name="mono-1.0"
800 family="mono"
801 version="1.0"
802 description="Mono 1.0 Profile"
803 sdkdirectory="${toolDirectory}"
804 frameworkdirectory="${toolDirectory}"
805 frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}"
806 clrversion="1.1.4322"
807 clrtype="Desktop"
808 vendor="Mono"
810 <runtime>
811 <probing-paths>
812 <directory name="lib/mono/1.0" />
813 <directory name="lib/mono/neutral" />
814 <directory name="lib/common/1.1" />
815 <directory name="lib/common/neutral" />
816 </probing-paths>
817 <modes>
818 <auto>
819 <engine program="${runtimeEngine}" />
820 <environment>
821 <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
822 <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
823 </environment>
824 </auto>
825 <strict>
826 <engine program="${runtimeEngine}">
827 <arg value="--runtime=v1.1.4322" />
828 </engine>
829 <environment>
830 <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
831 <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
832 </environment>
833 </strict>
834 </modes>
835 </runtime>
836 <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}">
837 <include name="*.dll" />
838 </reference-assemblies>
839 <task-assemblies>
840 <!-- include Mono version-neutral assemblies -->
841 <include name="extensions/mono/neutral/**/*.dll" />
842 <!-- include Mono 1.0 specific assemblies -->
843 <include name="extensions/mono/1.0/**/*.dll" />
844 <!-- include .NET 1.1 specific assemblies -->
845 <include name="extensions/common/1.1/**/*.dll" />
846 </task-assemblies>
847 <tool-paths>
848 <directory name="${toolDirectory}" />
849 <!-- unmanaged tools -->
850 <directory name="${sdkInstallRoot}/bin" />
851 </tool-paths>
852 <project>
853 <!-- quick and dirty check to see if pkg-config is available (and configured) -->
854 <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
855 <if test="${pkgconfig.available}">
856 <if test="${pkg-config::exists('mono')}">
857 <call target="configure-from-pkg-config" />
858 </if>
859 <if test="${not pkg-config::exists('mono')}">
860 <call target="configure-from-registry" />
861 </if>
862 </if>
863 <if test="${not pkgconfig.available}">
864 <call target="configure-from-registry" />
865 </if>
867 <!-- determine if we're dealing with a Mono 1.0.x release -->
868 <if test="${version::parse(mono.version) &lt; version::parse('1.1')}">
869 <!--
870 in Mono 1.0.x, the framework tools are located
871 in the <install root>\lib directory
873 <property name="toolDirectory" value="${frameworkAssemblyDirectory}" />
874 <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
875 <property name="resgen.tool" value="monoresgen" />
876 <!-- in Mono 1.0.x, only mcs and mbas are located in <install root>\lib\mono\<profile> -->
877 <property name="csc.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mcs.exe')}" />
878 <property name="mbas.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}" />
879 <!-- /doc is not supported in Mono 1.0.x -->
880 <property name="csc.supportsdocgeneration" value="false" />
882 <!--
883 Mono 1.0.1 installer incorrectly adds '\mono' to
884 "MonoConfigDir" registry value
886 <if test="${string::ends-with(configDir, 'etc\mono')}">
887 <property name="configDir" value="${string::replace(configDir, 'etc\mono', 'etc')}" />
888 </if>
889 </if>
891 <!-- determine if we're dealing with a Mono 1.1.x release or higher -->
892 <if test="${version::parse(mono.version) >= version::parse('1.1')}">
893 <!--
894 in Mono 1.1.x (and higher ?), the framework tools
895 are located in the <install root>\lib\mono\<profile>
896 directory
898 <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
899 <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
900 <!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
901 <if test="${not file::exists(runtimeEngine)}">
902 <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
903 </if>
904 <property name="resgen.tool" value="resgen" />
905 <property name="csc.tool" value="mcs" />
906 <property name="csc.supportsdocgeneration" value="true" />
907 <property name="mbas.tool" value="mbas" />
908 </if>
910 <target name="configure-from-pkg-config">
911 <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
912 <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
913 <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
914 <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
915 </target>
917 <target name="configure-from-registry">
918 <!--
919 first try using the DefaultCLR in HKLM\Novell\Mono,
920 this is used by the Mono 1.0.1 installer (and later?)
922 <readregistry
923 property="mono.version"
924 key="SOFTWARE\Novell\Mono\DefaultCLR"
925 hive="LocalMachine"
926 failonerror="false"
929 <if test="${property::exists('mono.version')}">
930 <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
931 </if>
933 <!--
934 if the DefaultCLR registry value does not exist in
935 HKLM\Novell\Mono, then try the HKML\Mono registry
936 key as this was used for the Mono 1.0 installer
938 <if test="${not property::exists('mono.version')}">
939 <readregistry
940 property="mono.version"
941 key="SOFTWARE\Mono\DefaultCLR"
942 hive="LocalMachine"
944 <property name="monokey" value="SOFTWARE\Mono\${mono.version}" />
945 </if>
947 <readregistry
948 property="sdkInstallRoot"
949 key="${monokey}\SdkInstallRoot"
950 hive="LocalMachine" />
951 <readregistry
952 property="frameworkAssemblyDirectory"
953 key="${monokey}\FrameworkAssemblyDirectory"
954 hive="LocalMachine" />
955 <readregistry
956 property="configDir"
957 key="${monokey}\MonoConfigDir"
958 hive="LocalMachine" />
959 </target>
960 </project>
961 <properties>
962 </properties>
963 <tasks>
964 <task name="al">
965 <attribute name="managed">true</attribute>
966 </task>
967 <task name="csc">
968 <attribute name="exename">${csc.tool}</attribute>
969 <attribute name="managed">true</attribute>
970 <attribute name="supportspackagereferences">true</attribute>
971 <attribute name="supportsnowarnlist">true</attribute>
972 <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
973 <attribute name="supportskeycontainer">true</attribute>
974 <attribute name="supportskeyfile">true</attribute>
975 <attribute name="supportsdelaysign">true</attribute>
976 <attribute name="supportslangversion">true</attribute>
977 </task>
978 <task name="jsc">
979 <attribute name="exename">mjs</attribute>
980 <attribute name="managed">true</attribute>
981 </task>
982 <task name="vbc">
983 <attribute name="exename">${mbas.tool}</attribute>
984 <attribute name="managed">true</attribute>
985 </task>
986 <task name="resgen">
987 <attribute name="exename">${resgen.tool}</attribute>
988 <attribute name="managed">true</attribute>
989 </task>
990 <task name="delay-sign">
991 <attribute name="exename">sn</attribute>
992 <attribute name="managed">true</attribute>
993 </task>
994 <task name="license">
995 <attribute name="hascommandlinecompiler">false</attribute>
996 </task>
997 <task name="ilasm">
998 <attribute name="managed">true</attribute>
999 </task>
1000 </tasks>
1001 </framework>
1002 <framework
1003 name="mono-2.0"
1004 family="mono"
1005 version="2.0"
1006 description="Mono 2.0 Profile"
1007 sdkdirectory="${toolDirectory}"
1008 frameworkdirectory="${toolDirectory}"
1009 frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
1010 clrversion="2.0.50727"
1011 clrtype="Desktop"
1012 vendor="Mono"
1014 <runtime>
1015 <probing-paths>
1016 <directory name="lib/mono/2.0" />
1017 <directory name="lib/mono/neutral" />
1018 <directory name="lib/common/2.0" />
1019 <directory name="lib/common/neutral" />
1020 </probing-paths>
1021 <modes>
1022 <auto>
1023 <engine program="${runtimeEngine}" />
1024 <environment>
1025 <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
1026 <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
1027 </environment>
1028 </auto>
1029 <strict>
1030 <engine program="${runtimeEngine}">
1031 <arg value="--runtime=v2.0.50727" />
1032 </engine>
1033 <environment>
1034 <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
1035 <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
1036 </environment>
1037 </strict>
1038 </modes>
1039 </runtime>
1040 <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
1041 <include name="*.dll" />
1042 </reference-assemblies>
1043 <task-assemblies>
1044 <!-- include Mono version-neutral assemblies -->
1045 <include name="extensions/mono/neutral/**/*.dll" />
1046 <!-- include Mono 2.0 specific assemblies -->
1047 <include name="extensions/mono/2.0/**/*.dll" />
1048 <!-- include .NET 2.0 specific assemblies -->
1049 <include name="extensions/common/2.0/**/*.dll" />
1050 </task-assemblies>
1051 <tool-paths>
1052 <directory name="${toolDirectory}" />
1053 <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
1054 <!-- for compatibility with Mono 1.0.x -->
1055 <directory name="${frameworkAssemblyDirectory}" />
1056 <!-- unmanaged tools -->
1057 <directory name="${sdkInstallRoot}/bin" />
1058 </tool-paths>
1059 <project>
1060 <!-- quick and dirty check to see if pkg-config is available (and configured) -->
1061 <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
1062 <if test="${pkgconfig.available}">
1063 <if test="${pkg-config::exists('mono')}">
1064 <call target="configure-from-pkg-config" />
1065 </if>
1066 <if test="${not pkg-config::exists('mono')}">
1067 <call target="configure-from-registry" />
1068 </if>
1069 </if>
1070 <if test="${not pkgconfig.available}">
1071 <call target="configure-from-registry" />
1072 </if>
1074 <property name="resgen.supportsexternalfilereferences" value="false" />
1076 <!-- determine if we're dealing with a Mono 1.0.x release -->
1077 <if test="${version::parse(mono.version) &lt; version::parse('1.1')}">
1078 <!--
1079 in Mono 1.0.x, the framework tools are located
1080 in the <install root>\lib directory, except for
1081 mbas and mcs
1083 <property name="toolDirectory" value="${frameworkAssemblyDirectory}" />
1084 <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
1085 <property name="resgen.tool" value="monoresgen" />
1086 <property name="csc.supportsdocgeneration" value="false" />
1088 <!--
1089 Mono 1.0.1 installer incorrectly adds '\mono' to
1090 "MonoConfigDir" registry value
1092 <if test="${string::ends-with(configDir, 'etc\mono')}">
1093 <property name="configDir" value="${string::replace(configDir, 'etc\mono', 'etc')}" />
1094 </if>
1095 </if>
1097 <!-- determine if we're dealing with a Mono 1.1.x release or higher -->
1098 <if test="${version::parse(mono.version) >= version::parse('1.1')}">
1099 <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
1100 <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
1101 <!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
1102 <if test="${not file::exists(runtimeEngine)}">
1103 <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
1104 </if>
1105 <property name="csc.supportsdocgeneration" value="true" />
1106 </if>
1107 <!-- as from Mono 1.2.3.50, resgen supports the /usesourcepath option -->
1108 <if test="${version::parse(mono.version) >= version::parse('1.2.3.50')}">
1109 <property name="resgen.supportsexternalfilereferences" value="true" />
1110 </if>
1112 <target name="configure-from-pkg-config">
1113 <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
1114 <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
1115 <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
1116 <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
1117 </target>
1119 <target name="configure-from-registry">
1120 <readregistry
1121 property="mono.version"
1122 key="SOFTWARE\Novell\Mono\DefaultCLR"
1123 hive="LocalMachine"
1125 <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
1127 <readregistry
1128 property="sdkInstallRoot"
1129 key="${monokey}\SdkInstallRoot"
1130 hive="LocalMachine" />
1131 <readregistry
1132 property="frameworkAssemblyDirectory"
1133 key="${monokey}\FrameworkAssemblyDirectory"
1134 hive="LocalMachine" />
1135 <readregistry
1136 property="configDir"
1137 key="${monokey}\MonoConfigDir"
1138 hive="LocalMachine" />
1139 </target>
1140 </project>
1141 <properties>
1142 </properties>
1143 <tasks>
1144 <task name="al">
1145 <attribute name="managed">true</attribute>
1146 </task>
1147 <task name="csc">
1148 <attribute name="exename">gmcs</attribute>
1149 <attribute name="managed">true</attribute>
1150 <attribute name="supportspackagereferences">true</attribute>
1151 <attribute name="supportsnowarnlist">true</attribute>
1152 <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
1153 <attribute name="supportskeycontainer">true</attribute>
1154 <attribute name="supportskeyfile">true</attribute>
1155 <attribute name="supportsdelaysign">true</attribute>
1156 <attribute name="supportslangversion">true</attribute>
1157 </task>
1158 <task name="jsc">
1159 <attribute name="exename">mjs</attribute>
1160 <attribute name="managed">strict</attribute>
1161 </task>
1162 <task name="vbc">
1163 <attribute name="exename">vbnc</attribute>
1164 <attribute name="managed">true</attribute>
1165 </task>
1166 <task name="resgen">
1167 <attribute name="exename">${resgen.tool}</attribute>
1168 <attribute name="managed">true</attribute>
1169 <attribute name="supportsexternalfilereferences">${resgen.supportsexternalfilereferences}</attribute>
1170 </task>
1171 <task name="delay-sign">
1172 <attribute name="exename">sn</attribute>
1173 <attribute name="managed">true</attribute>
1174 </task>
1175 <task name="license">
1176 <attribute name="hascommandlinecompiler">false</attribute>
1177 </task>
1178 <task name="ilasm">
1179 <attribute name="managed">true</attribute>
1180 </task>
1181 </tasks>
1182 </framework>
1183 <framework
1184 name="mono-3.5"
1185 family="mono"
1186 version="3.5"
1187 description="Mono 3.5 Profile"
1188 sdkdirectory="${toolDirectory}"
1189 frameworkdirectory="${toolDirectory}"
1190 frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
1191 clrversion="2.0.50727"
1192 clrtype="Desktop"
1193 vendor="Mono"
1195 <runtime>
1196 <probing-paths>
1197 <directory name="lib/mono/2.0" />
1198 <directory name="lib/mono/neutral" />
1199 <directory name="lib/common/2.0" />
1200 <directory name="lib/common/neutral" />
1201 </probing-paths>
1202 <modes>
1203 <auto>
1204 <engine program="${runtimeEngine}" />
1205 <environment>
1206 <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
1207 <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
1208 </environment>
1209 </auto>
1210 <strict>
1211 <engine program="${runtimeEngine}">
1212 <arg value="--runtime=v2.0.50727" />
1213 </engine>
1214 <environment>
1215 <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
1216 <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
1217 </environment>
1218 </strict>
1219 </modes>
1220 </runtime>
1221 <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}">
1222 <include name="*.dll" />
1223 </reference-assemblies>
1224 <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.0')}">
1225 <include name="*.dll" />
1226 </reference-assemblies>
1227 <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
1228 <include name="*.dll" />
1229 </reference-assemblies>
1230 <task-assemblies>
1231 <!-- include Mono version-neutral assemblies -->
1232 <include name="extensions/mono/neutral/**/*.dll" />
1233 <!-- include Mono 2.0 specific assemblies -->
1234 <include name="extensions/mono/2.0/**/*.dll" />
1235 <!-- include .NET 2.0 specific assemblies -->
1236 <include name="extensions/common/2.0/**/*.dll" />
1237 </task-assemblies>
1238 <tool-paths>
1239 <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
1240 <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
1241 <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
1242 <!-- unmanaged tools -->
1243 <directory name="${sdkInstallRoot}/bin" />
1244 </tool-paths>
1245 <project>
1246 <!-- quick and dirty check to see if pkg-config is available (and configured) -->
1247 <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
1248 <if test="${pkgconfig.available}">
1249 <if test="${pkg-config::exists('mono')}">
1250 <call target="configure-from-pkg-config" />
1251 </if>
1252 <if test="${not pkg-config::exists('mono')}">
1253 <call target="configure-from-registry" />
1254 </if>
1255 </if>
1256 <if test="${not pkgconfig.available}">
1257 <call target="configure-from-registry" />
1258 </if>
1260 <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
1261 <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
1263 <target name="configure-from-pkg-config">
1264 <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
1265 <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
1266 <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
1267 <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
1268 </target>
1270 <target name="configure-from-registry">
1271 <readregistry
1272 property="mono.version"
1273 key="SOFTWARE\Novell\Mono\DefaultCLR"
1274 hive="LocalMachine"
1276 <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
1278 <readregistry
1279 property="sdkInstallRoot"
1280 key="${monokey}\SdkInstallRoot"
1281 hive="LocalMachine" />
1282 <readregistry
1283 property="frameworkAssemblyDirectory"
1284 key="${monokey}\FrameworkAssemblyDirectory"
1285 hive="LocalMachine" />
1286 <readregistry
1287 property="configDir"
1288 key="${monokey}\MonoConfigDir"
1289 hive="LocalMachine" />
1290 </target>
1291 </project>
1292 <properties>
1293 </properties>
1294 <tasks>
1295 <task name="al">
1296 <attribute name="managed">true</attribute>
1297 </task>
1298 <task name="csc">
1299 <attribute name="exename">gmcs</attribute>
1300 <attribute name="managed">true</attribute>
1301 <attribute name="langversion">linq</attribute>
1302 <attribute name="supportspackagereferences">true</attribute>
1303 <attribute name="supportsnowarnlist">true</attribute>
1304 <attribute name="supportsdocgeneration">true</attribute>
1305 <attribute name="supportskeycontainer">true</attribute>
1306 <attribute name="supportskeyfile">true</attribute>
1307 <attribute name="supportsdelaysign">true</attribute>
1308 <attribute name="supportslangversion">true</attribute>
1309 </task>
1310 <task name="jsc">
1311 <attribute name="exename">mjs</attribute>
1312 <attribute name="managed">strict</attribute>
1313 </task>
1314 <task name="vbc">
1315 <attribute name="exename">vbnc</attribute>
1316 <attribute name="managed">true</attribute>
1317 </task>
1318 <task name="resgen">
1319 <attribute name="managed">true</attribute>
1320 <attribute name="supportsexternalfilereferences">true</attribute>
1321 </task>
1322 <task name="delay-sign">
1323 <attribute name="exename">sn</attribute>
1324 <attribute name="managed">true</attribute>
1325 </task>
1326 <task name="license">
1327 <attribute name="hascommandlinecompiler">false</attribute>
1328 </task>
1329 <task name="ilasm">
1330 <attribute name="managed">true</attribute>
1331 </task>
1332 </tasks>
1333 </framework>
1334 <framework
1335 name="moonlight-2.0"
1336 family="moonlight"
1337 version="2.0"
1338 description="Moonlight 2.0"
1339 sdkdirectory="${toolDirectory}"
1340 frameworkdirectory="${toolDirectory}"
1341 frameworkassemblydirectory="${toolDirectory}"
1342 clrversion="2.0.50727"
1343 clrtype="Browser"
1344 vendor="Mono"
1346 <runtime>
1347 <modes>
1348 <auto>
1349 <engine program="${runtimeEngine}">
1350 <arg value="--runtime=moonlight" />
1351 <arg value="--security=temporary-smcs-hack" />
1352 </engine>
1353 </auto>
1354 </modes>
1355 </runtime>
1356 <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'lib/mono/2.1')}">
1357 <include name="Microsoft.VisualBasic.dll" />
1358 <include name="mscorlib.dll" />
1359 <include name="System.Core.dll" />
1360 <include name="System.dll" />
1361 <include name="System.Net.dll" />
1362 <include name="System.Runtime.Serialization.dll" />
1363 <include name="System.ServiceModel.dll" />
1364 <include name="System.ServiceModel.Web.dll" />
1365 <include name="System.Windows.Browser.dll" />
1366 <include name="System.Windows.dll" />
1367 <include name="System.Xml.dll" />
1368 </reference-assemblies>
1369 <task-assemblies>
1370 <!-- include MS.NET version-neutral assemblies -->
1371 <include name="extensions/net/neutral/**/*.dll" />
1372 <!-- include MS.NET 2.0 specific assemblies -->
1373 <include name="extensions/net/2.0/**/*.dll" />
1374 <!-- include MS.NET specific task assembly -->
1375 <include name="NAnt.MSNetTasks.dll" />
1376 <!-- include MS.NET specific test assembly -->
1377 <include name="NAnt.MSNet.Tests.dll" />
1378 <!-- include .NET 2.0 specific assemblies -->
1379 <include name="extensions/common/2.0/**/*.dll" />
1380 </task-assemblies>
1381 <tool-paths>
1382 <directory name="${toolDirectory}" />
1383 <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
1384 <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
1385 <!-- unmanaged tools -->
1386 <directory name="${sdkInstallRoot}/bin" />
1387 </tool-paths>
1388 <project>
1389 <!-- quick and dirty check to see if pkg-config is available (and configured) -->
1390 <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
1391 <if test="${pkgconfig.available}">
1392 <if test="${pkg-config::exists('mono')}">
1393 <call target="configure-from-pkg-config" />
1394 </if>
1395 <if test="${not pkg-config::exists('mono')}">
1396 <call target="configure-from-registry" />
1397 </if>
1398 </if>
1399 <if test="${not pkgconfig.available}">
1400 <call target="configure-from-registry" />
1401 </if>
1403 <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.1')}" />
1404 <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
1406 <target name="configure-from-pkg-config">
1407 <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
1408 <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
1409 <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
1410 <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
1411 </target>
1413 <target name="configure-from-registry">
1414 <readregistry
1415 property="mono.version"
1416 key="SOFTWARE\Novell\Mono\DefaultCLR"
1417 hive="LocalMachine"
1419 <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
1421 <readregistry
1422 property="sdkInstallRoot"
1423 key="${monokey}\SdkInstallRoot"
1424 hive="LocalMachine" />
1425 <readregistry
1426 property="frameworkAssemblyDirectory"
1427 key="${monokey}\FrameworkAssemblyDirectory"
1428 hive="LocalMachine" />
1429 <readregistry
1430 property="configDir"
1431 key="${monokey}\MonoConfigDir"
1432 hive="LocalMachine" />
1433 </target>
1434 </project>
1435 <tasks>
1436 <task name="csc">
1437 <attribute name="exename">smcs</attribute>
1438 <attribute name="managed">true</attribute>
1439 <attribute name="supportspackagereferences">true</attribute>
1440 <attribute name="supportsnowarnlist">true</attribute>
1441 <attribute name="supportsdocgeneration">true</attribute>
1442 <attribute name="supportskeycontainer">true</attribute>
1443 <attribute name="supportskeyfile">true</attribute>
1444 <attribute name="supportsdelaysign">true</attribute>
1445 <attribute name="supportslangversion">true</attribute>
1446 </task>
1447 <task name="resgen">
1448 <attribute name="supportsassemblyreferences">true</attribute>
1449 <attribute name="supportsexternalfilereferences">true</attribute>
1450 </task>
1451 <task name="delay-sign">
1452 <attribute name="exename">sn</attribute>
1453 </task>
1454 <task name="license">
1455 <attribute name="hascommandlinecompiler">false</attribute>
1456 </task>
1457 </tasks>
1458 </framework>
1459 <framework
1460 name="sscli-1.0"
1461 family="sscli"
1462 version="1.0"
1463 description="Microsoft Shared Source CLI 1.0"
1464 sdkdirectory="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin"
1465 frameworkdirectory="C:\sscli\build\v1.x86fstchk.rotor"
1466 frameworkassemblydirectory="C:\sscli\build\v1.x86fstchk.rotor"
1467 clrversion="1.0.3"
1468 clrtype="Desktop"
1469 vendor="Microsoft"
1471 <runtime>
1472 <modes>
1473 <auto>
1474 <engine program="C:\sscli\build\v1.x86fstchk.rotor\clix.exe" />
1475 </auto>
1476 </modes>
1477 </runtime>
1478 <reference-assemblies basedir="C:\sscli\build\v1.x86fstchk.rotor">
1479 <include name="*.dll" />
1480 </reference-assemblies>
1481 <task-assemblies>
1482 <!-- this is not a supported runtime framework -->
1483 </task-assemblies>
1484 <tool-paths>
1485 <directory name="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin" />
1486 <directory name="C:\sscli\build\v1.x86fstchk.rotor" />
1487 </tool-paths>
1488 <project />
1489 <tasks>
1490 <task name="csc">
1491 <attribute name="supportsnowarnlist">true</attribute>
1492 </task>
1493 <task name="jsc">
1494 <attribute name="managed">true</attribute>
1495 </task>
1496 <task name="delay-sign">
1497 <attribute name="exename">sn</attribute>
1498 </task>
1499 <task name="license">
1500 <attribute name="hascommandlinecompiler">false</attribute>
1501 </task>
1502 <task name="ilasm">
1503 <attribute name="managed">true</attribute>
1504 </task>
1505 <task name="ildasm">
1506 <attribute name="managed">true</attribute>
1507 </task>
1508 </tasks>
1509 </framework>
1510 </platform>
1511 <platform name="unix" default="auto">
1512 <task-assemblies>
1513 <!-- include NAnt task assemblies -->
1514 <include name="*Tasks.dll" />
1515 <!-- include NAnt test assemblies -->
1516 <include name="*Tests.dll" />
1517 <!-- include framework-neutral assemblies -->
1518 <include name="extensions/common/neutral/**/*.dll" />
1519 <!-- exclude Microsoft.NET specific task assembly -->
1520 <exclude name="NAnt.MSNetTasks.dll" />
1521 <!-- exclude Microsoft.NET specific test assembly -->
1522 <exclude name="NAnt.MSNet.Tests.dll" />
1523 <!-- exclude win32 specific task assembly -->
1524 <exclude name="NAnt.Win32Tasks.dll" />
1525 <!-- exclude win32 specific test assembly -->
1526 <exclude name="NAnt.Win32.Tests.dll" />
1527 </task-assemblies>
1528 <framework
1529 name="mono-1.0"
1530 family="mono"
1531 version="1.0"
1532 description="Mono 1.0 Profile"
1533 sdkdirectory="${toolDirectory}"
1534 frameworkdirectory="${toolDirectory}"
1535 frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/1.0')}"
1536 clrversion="1.1.4322"
1537 clrtype="Desktop"
1538 vendor="Mono"
1540 <runtime>
1541 <probing-paths>
1542 <directory name="lib/mono/1.0" />
1543 <directory name="lib/mono/neutral" />
1544 <directory name="lib/common/1.1" />
1545 <directory name="lib/common/neutral" />
1546 </probing-paths>
1547 <modes>
1548 <auto>
1549 <engine program="${path::combine(prefix, 'bin/mono')}" />
1550 </auto>
1551 <strict>
1552 <engine program="${path::combine(prefix, 'bin/mono')}">
1553 <arg value="--runtime=v1.1.4322" />
1554 </engine>
1555 </strict>
1556 </modes>
1557 </runtime>
1558 <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/1.0')}">
1559 <include name="*.dll" />
1560 </reference-assemblies>
1561 <task-assemblies>
1562 <!-- include Mono version-neutral assemblies -->
1563 <include name="extensions/mono/neutral/**/*.dll" />
1564 <!-- include Mono 1.0 specific assemblies -->
1565 <include name="extensions/mono/1.0/**/*.dll" />
1566 <!-- include .NET 1.1 specific assemblies -->
1567 <include name="extensions/common/1.1/**/*.dll" />
1568 </task-assemblies>
1569 <tool-paths>
1570 <directory name="${toolDirectory}" />
1571 <!-- unmanaged tools -->
1572 <directory name="${prefix}/bin" />
1573 </tool-paths>
1574 <project>
1575 <if test="${not pkg-config::exists('mono')}">
1576 <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
1577 </if>
1578 <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
1579 <if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
1580 <property name="toolDirectory" value="${path::combine(prefix, 'bin')}" />
1581 <property name="resgen.tool" value="monoresgen" />
1582 <property name="csc.supportsdocgeneration" value="false" />
1583 </if>
1584 <if test="${pkg-config::is-atleast-version('mono', '1.1')}">
1585 <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
1586 <property name="resgen.tool" value="resgen" />
1587 <property name="csc.supportsdocgeneration" value="true" />
1588 </if>
1589 </project>
1590 <tasks>
1591 <task name="al">
1592 <attribute name="managed">true</attribute>
1593 </task>
1594 <task name="csc">
1595 <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mcs.exe')}</attribute>
1596 <attribute name="managed">true</attribute>
1597 <attribute name="supportspackagereferences">true</attribute>
1598 <attribute name="supportsnowarnlist">true</attribute>
1599 <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
1600 <attribute name="supportskeycontainer">true</attribute>
1601 <attribute name="supportskeyfile">true</attribute>
1602 <attribute name="supportsdelaysign">true</attribute>
1603 <attribute name="supportslangversion">true</attribute>
1604 </task>
1605 <task name="jsc">
1606 <attribute name="exename">mjs</attribute>
1607 <attribute name="managed">true</attribute>
1608 </task>
1609 <task name="vbc">
1610 <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
1611 <attribute name="managed">true</attribute>
1612 </task>
1613 <task name="resgen">
1614 <attribute name="exename">${resgen.tool}</attribute>
1615 <attribute name="managed">true</attribute>
1616 </task>
1617 <task name="delay-sign">
1618 <attribute name="exename">sn</attribute>
1619 <attribute name="managed">true</attribute>
1620 </task>
1621 <task name="license">
1622 <attribute name="hascommandlinecompiler">false</attribute>
1623 </task>
1624 <task name="ilasm">
1625 <attribute name="managed">true</attribute>
1626 </task>
1627 </tasks>
1628 </framework>
1629 <framework
1630 name="mono-2.0"
1631 family="mono"
1632 version="2.0"
1633 description="Mono 2.0 Profile"
1634 sdkdirectory="${toolDirectory}"
1635 frameworkdirectory="${toolDirectory}"
1636 frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
1637 clrversion="2.0.50727"
1638 clrtype="Desktop"
1639 vendor="Mono"
1641 <runtime>
1642 <probing-paths>
1643 <directory name="lib/mono/2.0" />
1644 <directory name="lib/mono/neutral" />
1645 <directory name="lib/common/2.0" />
1646 <directory name="lib/common/neutral" />
1647 </probing-paths>
1648 <modes>
1649 <auto>
1650 <engine program="${path::combine(prefix, 'bin/mono')}" />
1651 </auto>
1652 <strict>
1653 <engine program="${path::combine(prefix, 'bin/mono')}">
1654 <arg value="--runtime=v2.0.50727" />
1655 </engine>
1656 </strict>
1657 </modes>
1658 </runtime>
1659 <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
1660 <include name="*.dll" />
1661 </reference-assemblies>
1662 <task-assemblies>
1663 <!-- include Mono version-neutral assemblies -->
1664 <include name="extensions/mono/neutral/**/*.dll" />
1665 <!-- include Mono 2.0 specific assemblies -->
1666 <include name="extensions/mono/2.0/**/*.dll" />
1667 <!-- include .NET 2.0 specific assemblies -->
1668 <include name="extensions/common/2.0/**/*.dll" />
1669 </task-assemblies>
1670 <tool-paths>
1671 <directory name="${toolDirectory}" />
1672 <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
1673 <!-- unmanaged tools -->
1674 <directory name="${prefix}/bin" />
1675 </tool-paths>
1676 <project>
1677 <if test="${not pkg-config::exists('mono')}">
1678 <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
1679 </if>
1680 <property name="resgen.supportsexternalfilereferences" value="false" />
1681 <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
1682 <if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
1683 <property name="toolDirectory" value="${path::combine(prefix, 'bin')}" />
1684 <property name="resgen.tool" value="monoresgen" />
1685 <property name="csc.supportsdocgeneration" value="false" />
1686 </if>
1687 <if test="${pkg-config::is-atleast-version('mono', '1.1')}">
1688 <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/2.0')}" />
1689 <property name="resgen.tool" value="resgen" />
1690 <property name="csc.supportsdocgeneration" value="true" />
1691 </if>
1692 <!-- as from Mono 1.2.3.50, resgen supports the /usesourcepath option -->
1693 <if test="${pkg-config::is-atleast-version('mono', '1.2.3.50')}">
1694 <property name="resgen.supportsexternalfilereferences" value="true" />
1695 </if>
1696 </project>
1697 <tasks>
1698 <task name="al">
1699 <attribute name="managed">true</attribute>
1700 </task>
1701 <task name="csc">
1702 <attribute name="exename">gmcs</attribute>
1703 <attribute name="managed">true</attribute>
1704 <attribute name="supportspackagereferences">true</attribute>
1705 <attribute name="supportsnowarnlist">true</attribute>
1706 <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
1707 <attribute name="supportskeycontainer">true</attribute>
1708 <attribute name="supportskeyfile">true</attribute>
1709 <attribute name="supportsdelaysign">true</attribute>
1710 <attribute name="supportslangversion">true</attribute>
1711 </task>
1712 <task name="jsc">
1713 <attribute name="exename">mjs</attribute>
1714 <attribute name="managed">strict</attribute>
1715 </task>
1716 <task name="vbc">
1717 <attribute name="exename">vbnc</attribute>
1718 <attribute name="managed">true</attribute>
1719 </task>
1720 <task name="resgen">
1721 <attribute name="exename">${resgen.tool}</attribute>
1722 <attribute name="managed">true</attribute>
1723 <attribute name="supportsexternalfilereferences">${resgen.supportsexternalfilereferences}</attribute>
1724 </task>
1725 <task name="delay-sign">
1726 <attribute name="exename">sn</attribute>
1727 <attribute name="managed">true</attribute>
1728 </task>
1729 <task name="license">
1730 <attribute name="hascommandlinecompiler">false</attribute>
1731 </task>
1732 <task name="ilasm">
1733 <attribute name="managed">true</attribute>
1734 </task>
1735 </tasks>
1736 </framework>
1737 <framework
1738 name="mono-3.5"
1739 family="mono"
1740 version="3.5"
1741 description="Mono 3.5 Profile"
1742 sdkdirectory="${toolDirectory}"
1743 frameworkdirectory="${toolDirectory}"
1744 frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
1745 clrversion="2.0.50727"
1746 clrtype="Desktop"
1747 vendor="Mono"
1749 <runtime>
1750 <probing-paths>
1751 <directory name="lib/mono/2.0" />
1752 <directory name="lib/mono/neutral" />
1753 <directory name="lib/common/2.0" />
1754 <directory name="lib/common/neutral" />
1755 </probing-paths>
1756 <modes>
1757 <auto>
1758 <engine program="${path::combine(prefix, 'bin/mono')}" />
1759 </auto>
1760 <strict>
1761 <engine program="${path::combine(prefix, 'bin/mono')}">
1762 <arg value="--runtime=v2.0.50727" />
1763 </engine>
1764 </strict>
1765 </modes>
1766 </runtime>
1767 <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.5')}">
1768 <include name="*.dll" />
1769 </reference-assemblies>
1770 <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.0')}">
1771 <include name="*.dll" />
1772 </reference-assemblies>
1773 <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
1774 <include name="*.dll" />
1775 </reference-assemblies>
1776 <task-assemblies>
1777 <!-- include Mono version-neutral assemblies -->
1778 <include name="extensions/mono/neutral/**/*.dll" />
1779 <!-- include Mono 2.0 specific assemblies -->
1780 <include name="extensions/mono/2.0/**/*.dll" />
1781 <!-- include .NET 2.0 specific assemblies -->
1782 <include name="extensions/common/2.0/**/*.dll" />
1783 </task-assemblies>
1784 <tool-paths>
1785 <directory name="${toolDirectory}" />
1786 <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
1787 <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
1788 <!-- unmanaged tools -->
1789 <directory name="${prefix}/bin" />
1790 </tool-paths>
1791 <project>
1792 <if test="${not pkg-config::exists('mono')}">
1793 <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
1794 </if>
1795 <property name="resgen.supportsexternalfilereferences" value="false" />
1796 <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
1797 <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/3.5')}" />
1798 </project>
1799 <tasks>
1800 <task name="al">
1801 <attribute name="managed">true</attribute>
1802 </task>
1803 <task name="csc">
1804 <attribute name="exename">gmcs</attribute>
1805 <attribute name="managed">true</attribute>
1806 <attribute name="langversion">linq</attribute>
1807 <attribute name="supportspackagereferences">true</attribute>
1808 <attribute name="supportsnowarnlist">true</attribute>
1809 <attribute name="supportsdocgeneration">true</attribute>
1810 <attribute name="supportskeycontainer">true</attribute>
1811 <attribute name="supportskeyfile">true</attribute>
1812 <attribute name="supportsdelaysign">true</attribute>
1813 <attribute name="supportslangversion">true</attribute>
1814 </task>
1815 <task name="jsc">
1816 <attribute name="exename">mjs</attribute>
1817 <attribute name="managed">strict</attribute>
1818 </task>
1819 <task name="vbc">
1820 <attribute name="exename">vbnc</attribute>
1821 <attribute name="managed">true</attribute>
1822 </task>
1823 <task name="resgen">
1824 <attribute name="managed">true</attribute>
1825 <attribute name="supportsexternalfilereferences">true</attribute>
1826 </task>
1827 <task name="delay-sign">
1828 <attribute name="exename">sn</attribute>
1829 <attribute name="managed">true</attribute>
1830 </task>
1831 <task name="license">
1832 <attribute name="hascommandlinecompiler">false</attribute>
1833 </task>
1834 <task name="ilasm">
1835 <attribute name="managed">true</attribute>
1836 </task>
1837 </tasks>
1838 </framework>
1839 <framework
1840 name="moonlight-2.0"
1841 family="moonlight"
1842 version="2.0"
1843 description="Moonlight 2.0"
1844 sdkdirectory="${toolDirectory}"
1845 frameworkdirectory="${toolDirectory}"
1846 frameworkassemblydirectory="${toolDirectory}"
1847 clrversion="2.0.50727"
1848 clrtype="Browser"
1849 vendor="Mono"
1851 <runtime>
1852 <modes>
1853 <auto>
1854 <engine program="${path::combine(prefix, 'bin/mono')}">
1855 <arg value="--runtime=moonlight" />
1856 <arg value="--security=temporary-smcs-hack" />
1857 </engine>
1858 </auto>
1859 </modes>
1860 </runtime>
1861 <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.1')}">
1862 <include name="Microsoft.VisualBasic.dll" />
1863 <include name="mscorlib.dll" />
1864 <include name="System.Core.dll" />
1865 <include name="System.dll" />
1866 <include name="System.Net.dll" />
1867 <include name="System.Runtime.Serialization.dll" />
1868 <include name="System.ServiceModel.dll" />
1869 <include name="System.ServiceModel.Web.dll" />
1870 <include name="System.Windows.Browser.dll" />
1871 <include name="System.Windows.dll" />
1872 <include name="System.Xml.dll" />
1873 </reference-assemblies>
1874 <task-assemblies>
1875 <!-- include MS.NET version-neutral assemblies -->
1876 <include name="extensions/net/neutral/**/*.dll" />
1877 <!-- include MS.NET 2.0 specific assemblies -->
1878 <include name="extensions/net/2.0/**/*.dll" />
1879 <!-- include MS.NET specific task assembly -->
1880 <include name="NAnt.MSNetTasks.dll" />
1881 <!-- include MS.NET specific test assembly -->
1882 <include name="NAnt.MSNet.Tests.dll" />
1883 <!-- include .NET 2.0 specific assemblies -->
1884 <include name="extensions/common/2.0/**/*.dll" />
1885 </task-assemblies>
1886 <tool-paths>
1887 <directory name="${toolDirectory}" />
1888 <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
1889 <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
1890 <!-- unmanaged tools -->
1891 <directory name="${prefix}/bin" />
1892 </tool-paths>
1893 <project>
1894 <if test="${not pkg-config::exists('mono')}">
1895 <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
1896 </if>
1897 <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
1898 <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/2.1')}" />
1899 </project>
1900 <tasks>
1901 <task name="csc">
1902 <attribute name="exename">smcs</attribute>
1903 <attribute name="managed">true</attribute>
1904 <attribute name="supportspackagereferences">true</attribute>
1905 <attribute name="supportsnowarnlist">true</attribute>
1906 <attribute name="supportsdocgeneration">true</attribute>
1907 <attribute name="supportskeycontainer">true</attribute>
1908 <attribute name="supportskeyfile">true</attribute>
1909 <attribute name="supportsdelaysign">true</attribute>
1910 <attribute name="supportslangversion">true</attribute>
1911 </task>
1912 <task name="resgen">
1913 <attribute name="supportsassemblyreferences">true</attribute>
1914 <attribute name="supportsexternalfilereferences">true</attribute>
1915 </task>
1916 <task name="delay-sign">
1917 <attribute name="exename">sn</attribute>
1918 </task>
1919 <task name="license">
1920 <attribute name="hascommandlinecompiler">false</attribute>
1921 </task>
1922 </tasks>
1923 </framework>
1924 </platform>
1925 </frameworks>
1926 <properties>
1927 <!-- properties defined here are accessible to all build files -->
1928 <!-- <property name="foo" value = "bar" readonly="false" /> -->
1929 </properties>
1930 </nant>
1931 <!--
1932 This section contains the log4net configuration settings.
1934 By default, no messages will be logged to the log4net logging infrastructure.
1936 To enable the internal logging, set the threshold attribute on the log4net element
1937 to "ALL".
1939 When internal logging is enabled, internal messages will be written to the
1940 console.
1942 <log4net threshold="OFF">
1943 <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
1944 <layout type="log4net.Layout.PatternLayout">
1945 <param name="ConversionPattern" value="[%c{2}:%m - [%x] &lt;%X{auth}&gt;]%n" />
1946 </layout>
1947 </appender>
1948 <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
1949 <param name="File" value="${APPDATA}\\NAnt\\NAnt.log" />
1950 <param name="AppendToFile" value="true" />
1951 <param name="MaxSizeRollBackups" value="2" />
1952 <param name="MaximumFileSize" value="500KB" />
1953 <param name="RollingStyle" value="Size" />
1954 <param name="StaticLogFileName" value="true" />
1955 <layout type="log4net.Layout.PatternLayout">
1956 <param name="ConversionPattern" value="[%c{2}:%m - [%x] &lt;%X{auth}&gt;]%n" />
1957 </layout>
1958 </appender>
1959 <!-- Setup the root category, add the appenders and set the default level -->
1960 <root>
1961 <!-- Only log messages with severity ERROR (or higher) -->
1962 <level value="ERROR" />
1963 <!-- Log messages to the console -->
1964 <appender-ref ref="ConsoleAppender" />
1965 <!-- Uncomment the next line to enable logging messages to the NAnt.log file -->
1966 <!-- <appender-ref ref="RollingLogFileAppender" /> -->
1967 </root>
1968 <!-- Specify the priority for some specific categories -->
1969 <!--
1970 <logger name="NAnt.Core.TaskBuilderCollection">
1971 <level value="DEBUG" />
1972 </logger>
1973 <logger name="NAnt">
1974 <level value="INFO" />
1975 </logger>
1977 </log4net>
1978 <runtime>
1979 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1980 <probing privatePath="lib" />
1981 </assemblyBinding>
1982 </runtime>
1983 <startup>
1984 <!-- .NET Framework 2.0 -->
1985 <supportedRuntime version="v2.0.50727" />
1986 <!-- .NET Framework 1.1 -->
1987 <supportedRuntime version="v1.1.4322" />
1988 <!-- .NET Framework 1.0 -->
1989 <supportedRuntime version="v1.0.3705" />
1990 </startup>
1991 </configuration>