PageRenderTime 72ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/nant/NAnt.exe.config

http://github.com/philiplaureano/LinFu
Unknown | 2323 lines | 2297 code | 26 blank | 0 comment | 0 complexity | 80e1926b3a9bad54146439c47bcb36a9 MD5 | raw file
  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"
  45. >
  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"
  147. >
  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"
  247. >
  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="${sdkInstallRoot}"
  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"
  381. >
  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="${sdkInstallRoot}"
  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. <locatesdk property="sdkInstallRoot" minwinsdkver="v6.0A" maxnetfxver="3.5" failonerror="false" />
  487. <!--
  488. <readregistry
  489. property="sdkInstallRoot"
  490. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
  491. hive="LocalMachine"
  492. failonerror="false" />
  493. <readregistry
  494. property="sdkInstallRoot"
  495. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\InstallationFolder"
  496. hive="LocalMachine"
  497. failonerror="false" />
  498. <readregistry
  499. property="sdkInstallRoot"
  500. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0\InstallationFolder"
  501. hive="LocalMachine"
  502. failonerror="false" />
  503. <readregistry
  504. property="sdkInstallRoot"
  505. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\InstallationFolder"
  506. hive="LocalMachine"
  507. failonerror="false" />
  508. -->
  509. </project>
  510. <tasks>
  511. <task name="csc">
  512. <attribute name="supportsnowarnlist">true</attribute>
  513. <attribute name="supportswarnaserrorlist">true</attribute>
  514. <attribute name="supportskeycontainer">true</attribute>
  515. <attribute name="supportskeyfile">true</attribute>
  516. <attribute name="supportsdelaysign">true</attribute>
  517. <attribute name="supportsplatform">true</attribute>
  518. <attribute name="supportslangversion">true</attribute>
  519. </task>
  520. <task name="vbc">
  521. <attribute name="supportsdocgeneration">true</attribute>
  522. <attribute name="supportsnostdlib">true</attribute>
  523. <attribute name="supportsnowarnlist">true</attribute>
  524. <attribute name="supportskeycontainer">true</attribute>
  525. <attribute name="supportskeyfile">true</attribute>
  526. <attribute name="supportsdelaysign">true</attribute>
  527. <attribute name="supportsplatform">true</attribute>
  528. <attribute name="supportswarnaserrorlist">true</attribute>
  529. </task>
  530. <task name="jsc">
  531. <attribute name="supportsplatform">true</attribute>
  532. </task>
  533. <task name="vjc">
  534. <attribute name="supportsnowarnlist">true</attribute>
  535. <attribute name="supportskeycontainer">true</attribute>
  536. <attribute name="supportskeyfile">true</attribute>
  537. <attribute name="supportsdelaysign">true</attribute>
  538. </task>
  539. <task name="resgen">
  540. <attribute name="supportsassemblyreferences">true</attribute>
  541. <attribute name="supportsexternalfilereferences">true</attribute>
  542. </task>
  543. <task name="delay-sign">
  544. <attribute name="exename">sn</attribute>
  545. </task>
  546. <task name="license">
  547. <attribute name="exename">lc</attribute>
  548. <attribute name="supportsassemblyreferences">true</attribute>
  549. </task>
  550. </tasks>
  551. </framework>
  552. <framework
  553. name="net-4.0"
  554. family="net"
  555. version="4.0"
  556. description="Microsoft .NET Framework 4.0"
  557. sdkdirectory="${sdkInstallRoot}"
  558. frameworkdirectory="${path::combine(installRoot, 'v4.0.30319')}"
  559. frameworkassemblydirectory="${path::combine(installRoot, 'v4.0.30319')}"
  560. clrversion="4.0.30319"
  561. clrtype="Desktop"
  562. vendor="Microsoft"
  563. >
  564. <runtime>
  565. <probing-paths>
  566. <directory name="lib/common/2.0" />
  567. <directory name="lib/common/neutral" />
  568. </probing-paths>
  569. <modes>
  570. <strict>
  571. <environment>
  572. <variable name="COMPLUS_VERSION" value="v4.0.30319" />
  573. </environment>
  574. </strict>
  575. </modes>
  576. </runtime>
  577. <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}">
  578. <include name="Accessibility.dll" />
  579. <include name="Microsoft.Build.Conversion.v4.0.dll" />
  580. <include name="Microsoft.Build.dll" />
  581. <include name="Microsoft.Build.Engine.dll" />
  582. <include name="Microsoft.Build.Framework.dll" />
  583. <include name="Microsoft.Build.Tasks.v4.0.dll" />
  584. <include name="Microsoft.Build.Utilities.v4.0.dll" />
  585. <include name="Microsoft.CSharp.dll" />
  586. <include name="Microsoft.Data.Entity.Build.Tasks.dll" />
  587. <include name="Microsoft.JScript.dll" />
  588. <include name="Microsoft.Transactions.Bridge.dll" />
  589. <include name="Microsoft.Transactions.Bridge.Dtc.dll" />
  590. <include name="Microsoft.VisualBasic.Activities.Compiler.dll" />
  591. <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
  592. <include name="Microsoft.VisualBasic.Compatibility.dll" />
  593. <include name="Microsoft.VisualBasic.dll" />
  594. <include name="Microsoft.VisualC.dll" />
  595. <include name="Microsoft.VisualC.STLCLR.dll" />
  596. <include name="mscorlib.dll" />
  597. <include name="System.Activities.Core.Presentation.dll" />
  598. <include name="System.Activities.dll" />
  599. <include name="System.Activities.DurableInstancing.dll" />
  600. <include name="System.Activities.Presentation.dll" />
  601. <include name="System.AddIn.Contract" />
  602. <include name="System.AddIn.dll" />
  603. <include name="System.ComponentModel.Composition.dll" />
  604. <include name="System.ComponentModel.DataAnnotations.dll" />
  605. <include name="System.Configuration.dll" />
  606. <include name="System.Configuration.Install.dll" />
  607. <include name="System.Core.dll" />
  608. <include name="System.Data.DataSetExtensions.dll" />
  609. <include name="System.Data.dll" />
  610. <include name="System.Data.Entity.Design.dll" />
  611. <include name="System.Data.Entity.dll" />
  612. <include name="System.Data.Linq.dll" />
  613. <include name="System.Data.OracleClient.dll" />
  614. <include name="System.Data.Services.Client.dll" />
  615. <include name="System.Data.Services.Design.dll" />
  616. <include name="System.Data.Services.dll" />
  617. <include name="System.Data.SqlXml.dll" />
  618. <include name="System.Deployment.dll" />
  619. <include name="System.Design.dll" />
  620. <include name="System.Device.dll" />
  621. <include name="System.DirectoryServices.dll" />
  622. <include name="System.DirectoryServices.Protocols.dll" />
  623. <include name="System.dll" />
  624. <include name="System.Drawing.Design.dll" />
  625. <include name="System.Drawing.dll" />
  626. <include name="System.Dynamic.dll" />
  627. <include name="System.EnterpriseServices.dll" />
  628. <include name="System.EnterpriseServices.Thunk.dll" />
  629. <include name="System.EnterpriseServices.Wrapper.dll" />
  630. <include name="System.IdentityModel.dll" />
  631. <include name="System.IdentityModel.Selectors.dll" />
  632. <include name="System.IO.Log.dll" />
  633. <include name="System.Management.dll" />
  634. <include name="System.Management.Instrumentation.dll" />
  635. <include name="System.Messaging.dll" />
  636. <include name="System.Net.dll" />
  637. <include name="System.Numerics.dll" />
  638. <include name="System.Runtime.Caching.dll" />
  639. <include name="System.Runtime.DurableInstancing.dll" />
  640. <include name="System.Runtime.Remoting.dll" />
  641. <include name="System.Runtime.Serialization.dll" />
  642. <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
  643. <include name="System.Security.dll" />
  644. <include name="System.ServiceModel.Activation.dll" />
  645. <include name="System.ServiceModel.Activities.dll" />
  646. <include name="System.ServiceModel.Channels.dll" />
  647. <include name="System.ServiceModel.Discovery.dll" />
  648. <include name="System.ServiceModel.dll" />
  649. <include name="System.ServiceModel.Routing.dll" />
  650. <include name="System.ServiceModel.ServiceMoniker40.dll" />
  651. <include name="System.ServiceModel.WasHosting.dll" />
  652. <include name="System.ServiceModel.Web.dll" />
  653. <include name="System.ServiceProcess.dll" />
  654. <include name="System.Transactions.dll" />
  655. <include name="System.Web.Abstractions.dll" />
  656. <include name="System.Web.ApplicationServices.dll" />
  657. <include name="System.Web.DataVisualization.Design.dll" />
  658. <include name="System.Web.DataVisualization.dll" />
  659. <include name="System.Web.dll" />
  660. <include name="System.Web.DynamicData.Design.dll" />
  661. <include name="System.Web.DynamicData.dll" />
  662. <include name="System.Web.Entity.Design.dll" />
  663. <include name="System.Web.Entity.dll" />
  664. <include name="System.Web.Extensions.Design.dll" />
  665. <include name="System.Web.Extensions.dll" />
  666. <include name="System.Web.Mobile.dll" />
  667. <include name="System.Web.RegularExpressions.dll" />
  668. <include name="System.Web.Routing.dll" />
  669. <include name="System.Web.Services.dll" />
  670. <include name="System.Windows.Forms.DataVisualization.Design.dll" />
  671. <include name="System.Windows.Forms.DataVisualization.dll" />
  672. <include name="System.Windows.Forms.dll" />
  673. <include name="System.Workflow.Activities.dll" />
  674. <include name="System.Workflow.ComponentModel.dll" />
  675. <include name="System.Workflow.Runtime.dll" />
  676. <include name="System.WorkflowServices.dll" />
  677. <include name="System.Xaml.dll" />
  678. <include name="System.Xaml.Hosting.dll" />
  679. <include name="System.Xml.dll" />
  680. <include name="System.Xml.Linq.dll" />
  681. </reference-assemblies>
  682. <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0">
  683. <include name="Microsoft.Build.Conversion.v4.0.dll" />
  684. <include name="Microsoft.Build.dll" />
  685. <include name="Microsoft.Build.Engine.dll" />
  686. <include name="Microsoft.Build.Framework.dll" />
  687. <include name="Microsoft.Build.Tasks.v4.0.dll" />
  688. <include name="Microsoft.Build.Utilities.v4.0.dll" />
  689. <include name="Microsoft.CSharp.dll" />
  690. <include name="Microsoft.JScript.dll" />
  691. <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
  692. <include name="Microsoft.VisualBasic.Comptatibility.dll" />
  693. <include name="Microsoft.VisualBasic.dll" />
  694. <include name="Microsoft.VisualC.dll" />
  695. <include name="Microsoft.VisualC.STLCLR.dll" />
  696. <include name="mscorlib.dll" />
  697. <include name="PresentationBuildTasks.dll" />
  698. <include name="PresentationCore.dll" />
  699. <include name="PresentationFramework.Aero.dll" />
  700. <include name="PresentationFramework.Classic.dll" />
  701. <include name="PresentationFramework.Luna.dll" />
  702. <include name="PresentationFramework.Royale.dll" />
  703. <include name="ReachFramework.dll" />
  704. <include name="System.Activities.Core.Presentation.dll" />
  705. <include name="System.Activities.dll" />
  706. <include name="System.Activities.DurableInstancing.dll" />
  707. <include name="System.Activities.Presentation.dll" />
  708. <include name="System.AddIn.Contract.dll" />
  709. <include name="System.AddIn.dll" />
  710. <include name="System.ComponentModel.Composition.dll" />
  711. <include name="System.ComponentModel.DataAnnotations.dll" />
  712. <include name="System.Configuration.dll" />
  713. <include name="System.Core.dll" />
  714. <include name="System.Data.DataSetExtension.dll" />
  715. <include name="System.Data.dll" />
  716. <include name="System.Data.Entity.Design.dll" />
  717. <include name="System.Data.Entity.dll" />
  718. <include name="System.Data.Linq.dll" />
  719. <include name="System.Data.OracleClient.dll" />
  720. <include name="System.Data.Services.Client.dll" />
  721. <include name="System.Data.Services.Design.dll" />
  722. <include name="System.Data.Services.dll" />
  723. <include name="System.Data.SqlXml.dll" />
  724. <include name="System.Deployment.dll" />
  725. <include name="System.Design.dll" />
  726. <include name="System.Device.dll" />
  727. <include name="System.DirectoryServices.AccountManagement.dll" />
  728. <include name="System.DirectoryServices.dll" />
  729. <include name="System.DirectoryServices.Protocols.dll" />
  730. <include name="System.dll" />
  731. <include name="System.Drawing.Design.dll" />
  732. <include name="System.Drawing.dll" />
  733. <include name="System.EnterpriseServices.dll" />
  734. <include name="System.EnterpriseServices.Thunk.dll" />
  735. <include name="System.EnterpriseServices.Wrapper.dll" />
  736. <include name="System.IdentityModel.dll" />
  737. <include name="System.IdentityModel.Selectors.dll" />
  738. <include name="System.IO.Log.dll" />
  739. <include name="System.Management.dll" />
  740. <include name="System.Management.Instrumentation.dll" />
  741. <include name="System.Messaging.dll" />
  742. <include name="System.Net.dll" />
  743. <include name="System.Numerics.dll" />
  744. <include name="System.Printing.dll" />
  745. <include name="System.Runtime.Caching.dll" />
  746. <include name="System.Runtime.DurableInstancing.dll" />
  747. <include name="System.Runtime.Remoting.dll" />
  748. <include name="System.Runtime.Serialization.dll" />
  749. <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
  750. <include name="System.Security.dll" />
  751. <include name="System.ServiceModel.Activation.dll" />
  752. <include name="System.ServiceModel.Activities.dll" />
  753. <include name="System.ServiceModel.Channels.dll" />
  754. <include name="System.ServiceModel.Discovery.dll" />
  755. <include name="System.ServiceModel.dll" />
  756. <include name="System.ServiceModel.Routing.dll" />
  757. <include name="System.ServiceModel.Web.dll" />
  758. <include name="System.ServiceProcess.dll" />
  759. <include name="System.Speech.dll" />
  760. <include name="System.Transactions.dll" />
  761. <include name="System.Web.Abstractions.dll" />
  762. <include name="System.Web.ApplicationServices.dll" />
  763. <include name="System.Web.DataVisualization.Design.dll" />
  764. <include name="System.Web.DataVisualization.dll" />
  765. <include name="System.Web.dll" />
  766. <include name="System.Web.DynamicData.Design.dll" />
  767. <include name="System.Web.DynamicData.dll" />
  768. <include name="System.Web.Entity.Design.dll" />
  769. <include name="System.Web.Entity.dll" />
  770. <include name="System.Web.Extensions.Design.dll" />
  771. <include name="System.Web.Extensions.dll" />
  772. <include name="System.Web.Mobile.dll" />
  773. <include name="System.Web.RegularExpressions.dll" />
  774. <include name="System.Web.Routing.dll" />
  775. <include name="System.Web.Services.dll" />
  776. <include name="System.Windows.Forms.DataVisualization.Design.dll" />
  777. <include name="System.Windows.Forms.DataVisualization.dll" />
  778. <include name="System.Windows.Forms.dll" />
  779. <include name="System.Windows.Input.Manipulations.dll" />
  780. <include name="System.Windows.Presentation.dll" />
  781. <include name="System.Workflow.Activities.dll" />
  782. <include name="System.Workflow.ComponentModel.dll" />
  783. <include name="System.Workflow.Runtime.dll" />
  784. <include name="System.WorkflowServices.dll" />
  785. <include name="System.Xaml.dll" />
  786. <include name="System.Xml.dll" />
  787. <include name="System.Xml.Linq.dll" />
  788. </reference-assemblies>
  789. <task-assemblies>
  790. <!-- include MS.NET version-neutral assemblies -->
  791. <include name="extensions/net/neutral/**/*.dll" />
  792. <!-- include MS.NET 4.0 specific assemblies -->
  793. <include name="extensions/net/4.0/**/*.dll" />
  794. <!-- include MS.NET specific task assembly -->
  795. <include name="NAnt.MSNetTasks.dll" />
  796. <!-- include MS.NET specific test assembly -->
  797. <include name="NAnt.MSNet.Tests.dll" />
  798. <!-- include .NET 4.0 specific assemblies -->
  799. <include name="extensions/common/4.0/**/*.dll" />
  800. </task-assemblies>
  801. <tool-paths>
  802. <directory name="${sdkInstallRoot}"
  803. if="${property::exists('sdkInstallRoot')}" />
  804. <directory name="${path::combine(installRoot, 'v4.0.30319')}" />
  805. </tool-paths>
  806. <project>
  807. <readregistry
  808. property="installRoot"
  809. key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
  810. hive="LocalMachine" />
  811. <locatesdk property="sdkInstallRoot" minwinsdkver="v7.0A" minnetfxver="4.0" maxnetfxver="4.0.99999" failonerror="false" />
  812. <!--
  813. <echo message="sdkInstallRoot=${sdkInstallRoot}" if="${property::exists('sdkInstallRoot')}" />
  814. <readregistry
  815. property="sdkInstallRoot"
  816. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools\InstallationFolder"
  817. hive="LocalMachine"
  818. failonerror="false" />
  819. <readregistry
  820. property="sdkInstallRoot"
  821. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools-x86\InstallationFolder"
  822. hive="LocalMachine"
  823. failonerror="false" />
  824. -->
  825. </project>
  826. <tasks>
  827. <task name="csc">
  828. <attribute name="supportsnowarnlist">true</attribute>
  829. <attribute name="supportswarnaserrorlist">true</attribute>
  830. <attribute name="supportskeycontainer">true</attribute>
  831. <attribute name="supportskeyfile">true</attribute>
  832. <attribute name="supportsdelaysign">true</attribute>
  833. <attribute name="supportsplatform">true</attribute>
  834. <attribute name="supportslangversion">true</attribute>
  835. </task>
  836. <task name="vbc">
  837. <attribute name="supportsdocgeneration">true</attribute>
  838. <attribute name="supportsnostdlib">true</attribute>
  839. <attribute name="supportsnowarnlist">true</attribute>
  840. <attribute name="supportskeycontainer">true</attribute>
  841. <attribute name="supportskeyfile">true</attribute>
  842. <attribute name="supportsdelaysign">true</attribute>
  843. <attribute name="supportsplatform">true</attribute>
  844. <attribute name="supportswarnaserrorlist">true</attribute>
  845. </task>
  846. <task name="jsc">
  847. <attribute name="supportsplatform">true</attribute>
  848. </task>
  849. <task name="vjc">
  850. <attribute name="supportsnowarnlist">true</attribute>
  851. <attribute name="supportskeycontainer">true</attribute>
  852. <attribute name="supportskeyfile">true</attribute>
  853. <attribute name="supportsdelaysign">true</attribute>
  854. </task>
  855. <task name="resgen">
  856. <attribute name="supportsassemblyreferences">true</attribute>
  857. <attribute name="supportsexternalfilereferences">true</attribute>
  858. </task>
  859. <task name="delay-sign">
  860. <attribute name="exename">sn</attribute>
  861. </task>
  862. <task name="license">
  863. <attribute name="exename">lc</attribute>
  864. <attribute name="supportsassemblyreferences">true</attribute>
  865. </task>
  866. </tasks>
  867. </framework>
  868. <framework
  869. name="netcf-1.0"
  870. family="netcf"
  871. version="1.0"
  872. description="Microsoft .NET Compact Framework 1.0"
  873. sdkdirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}"
  874. frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}"
  875. frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}"
  876. clrversion="1.1.4322"
  877. clrtype="Compact"
  878. vendor="Microsoft"
  879. >
  880. <runtime>
  881. <modes>
  882. <strict>
  883. <environment>
  884. <variable name="COMPLUS_VERSION" value="v1.1.4322" />
  885. </environment>
  886. </strict>
  887. </modes>
  888. </runtime>
  889. <reference-assemblies basedir="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}">
  890. <include name="*.dll" />
  891. </reference-assemblies>
  892. <task-assemblies>
  893. <!-- this is not a supported runtime framework -->
  894. </task-assemblies>
  895. <tool-paths>
  896. <directory name="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}" />
  897. <directory name="${path::combine(installRoot, 'v1.1.4322')}" />
  898. <directory name="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}" />
  899. </tool-paths>
  900. <project>
  901. <readregistry
  902. property="installRoot"
  903. key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
  904. hive="LocalMachine" />
  905. <readregistry
  906. property="sdkInstallRoot"
  907. key="SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot"
  908. hive="LocalMachine" />
  909. <readregistry
  910. property="sdkInstallRoot.DesktopFramework"
  911. key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1"
  912. hive="LocalMachine" />
  913. <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 1.1 SDK is not installed.</fail>
  914. </project>
  915. <tasks>
  916. <task name="csc">
  917. <attribute name="noconfig">true</attribute>
  918. <attribute name="nostdlib">true</attribute>
  919. <attribute name="supportsnowarnlist">true</attribute>
  920. </task>
  921. <task name="resgen">
  922. <attribute name="exename">cfresgen</attribute>
  923. </task>
  924. <task name="delay-sign">
  925. <attribute name="exename">sn</attribute>
  926. </task>
  927. <task name="license">
  928. <attribute name="exename">lc</attribute>
  929. </task>
  930. </tasks>
  931. </framework>
  932. <framework
  933. name="netcf-2.0"
  934. family="netcf"
  935. version="2.0"
  936. description="Microsoft .NET Compact Framework 2.0"
  937. sdkdirectory="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}"
  938. frameworkdirectory="${path::combine(installRoot, 'v2.0.50727')}"
  939. frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'WindowsCE')}"
  940. clrversion="2.0.0"
  941. clrtype="Compact"
  942. vendor="Microsoft"
  943. >
  944. <runtime>
  945. <modes>
  946. <strict>
  947. <environment>
  948. <variable name="COMPLUS_VERSION" value="v2.0.50727" />
  949. </environment>
  950. </strict>
  951. </modes>
  952. </runtime>
  953. <reference-assemblies basedir="${path::combine(sdkInstallRoot, 'WindowsCE')}">
  954. <include name="*.dll" />
  955. </reference-assemblies>
  956. <task-assemblies>
  957. <!-- this is not a supported runtime framework -->
  958. </task-assemblies>
  959. <tool-paths>
  960. <directory name="${path::combine(sdkInstallRoot.DesktopFramework, 'bin')}" />
  961. </tool-paths>
  962. <project>
  963. <readregistry
  964. property="installRoot"
  965. key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
  966. hive="LocalMachine" />
  967. <readregistry
  968. property="sdkInstallRoot"
  969. key="SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\InstallRoot\"
  970. hive="LocalMachine" />
  971. <readregistry
  972. property="sdkInstallRoot.DesktopFramework"
  973. key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"
  974. hive="LocalMachine" />
  975. <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 2.0 SDK is not installed.</fail>
  976. </project>
  977. <tasks>
  978. <task name="csc">
  979. <attribute name="noconfig">true</attribute>
  980. <attribute name="nostdlib">true</attribute>
  981. <attribute name="supportsnowarnlist">true</attribute>
  982. <attribute name="supportswarnaserrorlist">true</attribute>
  983. <attribute name="supportskeycontainer">true</attribute>
  984. <attribute name="supportskeyfile">true</attribute>
  985. <attribute name="supportsdelaysign">true</attribute>
  986. <attribute name="supportsplatform">true</attribute>
  987. <attribute name="supportslangversion">true</attribute>
  988. </task>
  989. <task name="vbc">
  990. <attribute name="nostdlib">true</attribute>
  991. <attribute name="supportsdocgeneration">true</attribute>
  992. <attribute name="supportsnostdlib">true</attribute>
  993. <attribute name="supportsnowarnlist">true</attribute>
  994. <attribute name="supportskeycontainer">true</attribute>
  995. <attribute name="supportskeyfile">true</attribute>
  996. <attribute name="supportsdelaysign">true</attribute>
  997. <attribute name="supportsplatform">true</attribute>
  998. <attribute name="supportswarnaserrorlist">true</attribute>
  999. </task>
  1000. <task name="resgen">
  1001. <attribute name="supportsassemblyreferences">true</attribute>
  1002. <attribute name="supportsexternalfilereferences">true</attribute>
  1003. </task>
  1004. <task name="delay-sign">
  1005. <attribute name="exename">sn</attribute>
  1006. </task>
  1007. <task name="license">
  1008. <attribute name="exename">lc</attribute>
  1009. <attribute name="supportsassemblyreferences">true</attribute>
  1010. </task>
  1011. </tasks>
  1012. </framework>
  1013. <framework
  1014. name="silverlight-2.0"
  1015. family="silverlight"
  1016. version="2.0"
  1017. description="Microsoft Silverlight 2.0"
  1018. sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"
  1019. frameworkdirectory="${path::combine(installRoot, 'v3.5')}"
  1020. frameworkassemblydirectory="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight/2.0.31005.0"
  1021. clrversion="2.0.50727"
  1022. clrtype="Browser"
  1023. vendor="Microsoft"
  1024. >
  1025. <runtime>
  1026. <modes>
  1027. <strict>
  1028. <environment>
  1029. <variable name="COMPLUS_VERSION" value="v2.0.50727" />
  1030. </environment>
  1031. </strict>
  1032. </modes>
  1033. </runtime>
  1034. <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight/2.0.31005.0">
  1035. <include name="Microsoft.VisualBasic.dll" />
  1036. <include name="mscorlib.dll" />
  1037. <include name="System.Core.dll" />
  1038. <include name="System.dll" />
  1039. <include name="System.Net.dll" />
  1040. <include name="System.Runtime.Serialization.dll" />
  1041. <include name="System.ServiceModel.dll" />
  1042. <include name="System.ServiceModel.Web.dll" />
  1043. <include name="System.Windows.Browser.dll" />
  1044. <include name="System.Windows.dll" />
  1045. <include name="System.Xml.dll" />
  1046. </reference-assemblies>
  1047. <task-assemblies>
  1048. <!-- include MS.NET version-neutral assemblies -->
  1049. <include name="extensions/net/neutral/**/*.dll" />
  1050. <!-- include MS.NET 2.0 specific assemblies -->
  1051. <include name="extensions/net/2.0/**/*.dll" />
  1052. <!-- include MS.NET specific task assembly -->
  1053. <include name="NAnt.MSNetTasks.dll" />
  1054. <!-- include MS.NET specific test assembly -->
  1055. <include name="NAnt.MSNet.Tests.dll" />
  1056. <!-- include .NET 2.0 specific assemblies -->
  1057. <include name="extensions/common/2.0/**/*.dll" />
  1058. </task-assemblies>
  1059. <tool-paths>
  1060. <directory name="${path::combine(sdkInstallRoot, 'bin')}"
  1061. if="${property::exists('sdkInstallRoot')}" />
  1062. <directory name="${path::combine(installRoot, 'v3.5')}" />
  1063. <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
  1064. <directory name="${environment::get-folder-path('ProgramFiles')}/Microsoft Silverlight/2.0.31005.0" />
  1065. </tool-paths>
  1066. <project>
  1067. <readregistry
  1068. property="installRoot"
  1069. key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
  1070. hive="LocalMachine" />
  1071. <readregistry
  1072. property="sdkInstallRoot"
  1073. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
  1074. hive="LocalMachine"
  1075. failonerror="false" />
  1076. <readregistry
  1077. property="sdkInstallRoot"
  1078. key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\WinSDKNetFxTools\InstallationFolder"
  1079. hive="LocalMachine"
  1080. failonerror="false" />
  1081. </project>
  1082. <tasks>
  1083. <task name="csc">
  1084. <attribute name="noconfig">true</attribute>
  1085. <attribute name="nostdlib">true</attribute>
  1086. <attribute name="supportsnowarnlist">true</attribute>
  1087. <attribute name="supportswarnaserrorlist">true</attribute>
  1088. <attribute name="supportskeycontainer">true</attribute>
  1089. <attribute name="supportskeyfile">true</attribute>
  1090. <attribute name="supportsdelaysign">true</attribute>
  1091. <attribute name="supportsplatform">true</attribute>
  1092. <attribute name="supportslangversion">true</attribute>
  1093. </task>
  1094. <task name="vbc">
  1095. <attribute name="nostdlib">true</attribute>
  1096. <attribute name="supportsdocgeneration">true</attribute>
  1097. <attribute name="supportsnostdlib">true</attribute>
  1098. <attribute name="supportsnowarnlist">true</attribute>
  1099. <attribute name="supportskeycontainer">true</attribute>
  1100. <attribute name="supportskeyfile">true</attribute>
  1101. <attribute name="supportsdelaysign">true</attribute>
  1102. <attribute name="supportsplatform">true</attribute>
  1103. <attribute name="supportswarnaserrorlist">true</attribute>
  1104. </task>
  1105. <task name="jsc">
  1106. <attribute name="supportsplatform">true</attribute>
  1107. </task>
  1108. <task name="vjc">
  1109. <attribute name="supportsnowarnlist">true</attribute>
  1110. <attribute name="supportskeycontainer">true</attribute>
  1111. <attribute name="supportskeyfile">true</attribute>
  1112. <attribute name="supportsdelaysign">true</attribute>
  1113. </task>
  1114. <task name="resgen">
  1115. <attribute name="supportsassemblyreferences">true</attribute>
  1116. <attribute name="supportsexternalfilereferences">true</attribute>
  1117. </task>
  1118. <task name="delay-sign">
  1119. <attribute name="exename">sn</attribute>
  1120. </task>
  1121. <task name="license">
  1122. <attribute name="exename">lc</attribute>
  1123. <attribute name="supportsassemblyreferences">true</attribute>
  1124. </task>
  1125. </tasks>
  1126. </framework>
  1127. <framework
  1128. name="mono-1.0"
  1129. family="mono"
  1130. version="1.0"
  1131. description="Mono 1.0 Profile"
  1132. sdkdirectory="${toolDirectory}"
  1133. frameworkdirectory="${toolDirectory}"
  1134. frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}"
  1135. clrversion="1.1.4322"
  1136. clrtype="Desktop"
  1137. vendor="Mono"
  1138. >
  1139. <runtime>
  1140. <probing-paths>
  1141. <directory name="lib/mono/1.0" />
  1142. <directory name="lib/mono/neutral" />
  1143. <directory name="lib/common/1.1" />
  1144. <directory name="lib/common/neutral" />
  1145. </probing-paths>
  1146. <modes>
  1147. <auto>
  1148. <engine program="${runtimeEngine}" />
  1149. <environment>
  1150. <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
  1151. <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
  1152. </environment>
  1153. </auto>
  1154. <strict>
  1155. <engine program="${runtimeEngine}">
  1156. <arg value="--runtime=v1.1.4322" />
  1157. </engine>
  1158. <environment>
  1159. <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
  1160. <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
  1161. </environment>
  1162. </strict>
  1163. </modes>
  1164. </runtime>
  1165. <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}">
  1166. <include name="*.dll" />
  1167. </reference-assemblies>
  1168. <task-assemblies>
  1169. <!-- include Mono version-neutral assemblies -->
  1170. <include name="extensions/mono/neutral/**/*.dll" />
  1171. <!-- include Mono 1.0 specific assemblies -->
  1172. <include name="extensions/mono/1.0/**/*.dll" />
  1173. <!-- include .NET 1.1 specific assemblies -->
  1174. <include name="extensions/common/1.1/**/*.dll" />
  1175. </task-assemblies>
  1176. <tool-paths>
  1177. <directory name="${toolDirectory}" />
  1178. <!-- unmanaged tools -->
  1179. <directory name="${sdkInstallRoot}/bin" />
  1180. </tool-paths>
  1181. <project>
  1182. <!-- quick and dirty check to see if pkg-config is available (and configured) -->
  1183. <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
  1184. <if test="${pkgconfig.available}">
  1185. <if test="${pkg-config::exists('mono')}">
  1186. <call target="configure-from-pkg-config" />
  1187. </if>
  1188. <if test="${not pkg-config::exists('mono')}">
  1189. <call target="configure-from-registry" />
  1190. </if>
  1191. </if>
  1192. <if test="${not pkgconfig.available}">
  1193. <call target="configure-from-registry" />
  1194. </if>
  1195. <!-- determine if we're dealing with a Mono 1.0.x release -->
  1196. <if test="${version::parse(mono.version) &lt; version::parse('1.1')}">
  1197. <!--
  1198. in Mono 1.0.x, the framework tools are located
  1199. in the <install root>\lib directory
  1200. -->
  1201. <property name="toolDirectory" value="${frameworkAssemblyDirectory}" />
  1202. <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
  1203. <property name="resgen.tool" value="monoresgen" />
  1204. <!-- in Mono 1.0.x, only mcs and mbas are located in <install root>\lib\mono\<profile> -->
  1205. <property name="csc.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mcs.exe')}" />
  1206. <property name="mbas.tool" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}" />
  1207. <!-- /doc is not supported in Mono 1.0.x -->
  1208. <property name="csc.supportsdocgeneration" value="false" />
  1209. <!--
  1210. Mono 1.0.1 installer incorrectly adds '\mono' to
  1211. "MonoConfigDir" registry value
  1212. -->
  1213. <if test="${string::ends-with(configDir, 'etc\mono')}">
  1214. <property name="configDir" value="${string::replace(configDir, 'etc\mono', 'etc')}" />
  1215. </if>
  1216. </if>
  1217. <!-- determine if we're dealing with a Mono 1.1.x release or higher -->
  1218. <if test="${version::parse(mono.version) >= version::parse('1.1')}">
  1219. <!--
  1220. in Mono 1.1.x (and higher ?), the framework tools
  1221. are located in the <install root>\lib\mono\<profile>
  1222. directory
  1223. -->
  1224. <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
  1225. <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
  1226. <!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
  1227. <if test="${not file::exists(runtimeEngine)}">
  1228. <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
  1229. </if>
  1230. <property name="resgen.tool" value="resgen" />
  1231. <property name="csc.tool" value="mcs" />
  1232. <property name="csc.supportsdocgeneration" value="true" />
  1233. <property name="mbas.tool" value="mbas" />
  1234. </if>
  1235. <target name="configure-from-pkg-config">
  1236. <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
  1237. <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
  1238. <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
  1239. <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
  1240. </target>
  1241. <target name="configure-from-registry">
  1242. <!--
  1243. first try using the DefaultCLR in HKLM\Novell\Mono,
  1244. this is used by the Mono 1.0.1 installer (and later?)
  1245. -->
  1246. <readregistry
  1247. property="mono.version"
  1248. key="SOFTWARE\Novell\Mono\DefaultCLR"
  1249. hive="LocalMachine"
  1250. failonerror="false"
  1251. />
  1252. <if test="${property::exists('mono.version')}">
  1253. <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
  1254. </if>
  1255. <!--
  1256. if the DefaultCLR registry value does not exist in
  1257. HKLM\Novell\Mono, then try the HKML\Mono registry
  1258. key as this was used for the Mono 1.0 installer
  1259. -->
  1260. <if test="${not property::exists('mono.version')}">
  1261. <readregistry
  1262. property="mono.version"
  1263. key="SOFTWARE\Mono\DefaultCLR"
  1264. hive="LocalMachine"
  1265. />
  1266. <property name="monokey" value="SOFTWARE\Mono\${mono.version}" />
  1267. </if>
  1268. <readregistry
  1269. property="sdkInstallRoot"
  1270. key="${monokey}\SdkInstallRoot"
  1271. hive="LocalMachine" />
  1272. <readregistry
  1273. property="frameworkAssemblyDirectory"
  1274. key="${monokey}\FrameworkAssemblyDirectory"
  1275. hive="LocalMachine" />
  1276. <readregistry
  1277. property="configDir"
  1278. key="${monokey}\MonoConfigDir"
  1279. hive="LocalMachine" />
  1280. </target>
  1281. </project>
  1282. <properties>
  1283. </properties>
  1284. <tasks>
  1285. <task name="al">
  1286. <attribute name="managed">true</attribute>
  1287. </task>
  1288. <task name="csc">
  1289. <attribute name="exename">${csc.tool}</attribute>
  1290. <attribute name="managed">true</attribute>
  1291. <attribute name="supportspackagereferences">true</attribute>
  1292. <attribute name="supportsnowarnlist">true</attribute>
  1293. <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
  1294. <attribute name="supportskeycontainer">true</attribute>
  1295. <attribute name="supportskeyfile">true</attribute>
  1296. <attribute name="supportsdelaysign">true</attribute>
  1297. <attribute name="supportslangversion">true</attribute>
  1298. </task>
  1299. <task name="jsc">
  1300. <attribute name="exename">mjs</attribute>
  1301. <attribute name="managed">true</attribute>
  1302. </task>
  1303. <task name="vbc">
  1304. <attribute name="exename">${mbas.tool}</attribute>
  1305. <attribute name="managed">true</attribute>
  1306. </task>
  1307. <task name="resgen">
  1308. <attribute name="exename">${resgen.tool}</attribute>
  1309. <attribute name="managed">true</attribute>
  1310. </task>
  1311. <task name="delay-sign">
  1312. <attribute name="exename">sn</attribute>
  1313. <attribute name="managed">true</attribute>
  1314. </task>
  1315. <task name="license">
  1316. <attribute name="hascommandlinecompiler">false</attribute>
  1317. </task>
  1318. <task name="ilasm">
  1319. <attribute name="managed">true</attribute>
  1320. </task>
  1321. </tasks>
  1322. </framework>
  1323. <framework
  1324. name="mono-2.0"
  1325. family="mono"
  1326. version="2.0"
  1327. description="Mono 2.0 Profile"
  1328. sdkdirectory="${toolDirectory}"
  1329. frameworkdirectory="${toolDirectory}"
  1330. frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
  1331. clrversion="2.0.50727"
  1332. clrtype="Desktop"
  1333. vendor="Mono"
  1334. >
  1335. <runtime>
  1336. <probing-paths>
  1337. <directory name="lib/mono/2.0" />
  1338. <directory name="lib/mono/neutral" />
  1339. <directory name="lib/common/2.0" />
  1340. <directory name="lib/common/neutral" />
  1341. </probing-paths>
  1342. <modes>
  1343. <auto>
  1344. <engine program="${runtimeEngine}" />
  1345. <environment>
  1346. <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
  1347. <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
  1348. </environment>
  1349. </auto>
  1350. <strict>
  1351. <engine program="${runtimeEngine}">
  1352. <arg value="--runtime=v2.0.50727" />
  1353. </engine>
  1354. <environment>
  1355. <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
  1356. <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
  1357. </environment>
  1358. </strict>
  1359. </modes>
  1360. </runtime>
  1361. <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
  1362. <include name="*.dll" />
  1363. </reference-assemblies>
  1364. <task-assemblies>
  1365. <!-- include Mono version-neutral assemblies -->
  1366. <include name="extensions/mono/neutral/**/*.dll" />
  1367. <!-- include Mono 2.0 specific assemblies -->
  1368. <include name="extensions/mono/2.0/**/*.dll" />
  1369. <!-- include .NET 2.0 specific assemblies -->
  1370. <include name="extensions/common/2.0/**/*.dll" />
  1371. </task-assemblies>
  1372. <tool-paths>
  1373. <directory name="${toolDirectory}" />
  1374. <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
  1375. <!-- for compatibility with Mono 1.0.x -->
  1376. <directory name="${frameworkAssemblyDirectory}" />
  1377. <!-- unmanaged tools -->
  1378. <directory name="${sdkInstallRoot}/bin" />
  1379. </tool-paths>
  1380. <project>
  1381. <!-- quick and dirty check to see if pkg-config is available (and configured) -->
  1382. <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
  1383. <if test="${pkgconfig.available}">
  1384. <if test="${pkg-config::exists('mono')}">
  1385. <call target="configure-from-pkg-config" />
  1386. </if>
  1387. <if test="${not pkg-config::exists('mono')}">
  1388. <call target="configure-from-registry" />
  1389. </if>
  1390. </if>
  1391. <if test="${not pkgconfig.available}">
  1392. <call target="configure-from-registry" />
  1393. </if>
  1394. <property name="resgen.supportsexternalfilereferences" value="false" />
  1395. <!-- determine if we're dealing with a Mono 1.0.x release -->
  1396. <if test="${version::parse(mono.version) &lt; version::parse('1.1')}">
  1397. <!--
  1398. in Mono 1.0.x, the framework tools are located
  1399. in the <install root>\lib directory, except for
  1400. mbas and mcs
  1401. -->
  1402. <property name="toolDirectory" value="${frameworkAssemblyDirectory}" />
  1403. <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
  1404. <property name="resgen.tool" value="monoresgen" />
  1405. <property name="csc.supportsdocgeneration" value="false" />
  1406. <!--
  1407. Mono 1.0.1 installer incorrectly adds '\mono' to
  1408. "MonoConfigDir" registry value
  1409. -->
  1410. <if test="${string::ends-with(configDir, 'etc\mono')}">
  1411. <property name="configDir" value="${string::replace(configDir, 'etc\mono', 'etc')}" />
  1412. </if>
  1413. </if>
  1414. <!-- determine if we're dealing with a Mono 1.1.x release or higher -->
  1415. <if test="${version::parse(mono.version) >= version::parse('1.1')}">
  1416. <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
  1417. <property name="runtimeEngine" value="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" />
  1418. <!-- starting from Mono 1.1.9.2, mono.exe is located in the bin directory -->
  1419. <if test="${not file::exists(runtimeEngine)}">
  1420. <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
  1421. </if>
  1422. <property name="csc.supportsdocgeneration" value="true" />
  1423. </if>
  1424. <!-- as from Mono 1.2.3.50, resgen supports the /usesourcepath option -->
  1425. <if test="${version::parse(mono.version) >= version::parse('1.2.3.50')}">
  1426. <property name="resgen.supportsexternalfilereferences" value="true" />
  1427. </if>
  1428. <target name="configure-from-pkg-config">
  1429. <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
  1430. <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
  1431. <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
  1432. <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
  1433. </target>
  1434. <target name="configure-from-registry">
  1435. <readregistry
  1436. property="mono.version"
  1437. key="SOFTWARE\Novell\Mono\DefaultCLR"
  1438. hive="LocalMachine"
  1439. />
  1440. <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
  1441. <readregistry
  1442. property="sdkInstallRoot"
  1443. key="${monokey}\SdkInstallRoot"
  1444. hive="LocalMachine" />
  1445. <readregistry
  1446. property="frameworkAssemblyDirectory"
  1447. key="${monokey}\FrameworkAssemblyDirectory"
  1448. hive="LocalMachine" />
  1449. <readregistry
  1450. property="configDir"
  1451. key="${monokey}\MonoConfigDir"
  1452. hive="LocalMachine" />
  1453. </target>
  1454. </project>
  1455. <properties>
  1456. </properties>
  1457. <tasks>
  1458. <task name="al">
  1459. <attribute name="managed">true</attribute>
  1460. </task>
  1461. <task name="csc">
  1462. <attribute name="exename">gmcs</attribute>
  1463. <attribute name="managed">true</attribute>
  1464. <attribute name="supportspackagereferences">true</attribute>
  1465. <attribute name="supportsnowarnlist">true</attribute>
  1466. <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
  1467. <attribute name="supportskeycontainer">true</attribute>
  1468. <attribute name="supportskeyfile">true</attribute>
  1469. <attribute name="supportsdelaysign">true</attribute>
  1470. <attribute name="supportslangversion">true</attribute>
  1471. </task>
  1472. <task name="jsc">
  1473. <attribute name="exename">mjs</attribute>
  1474. <attribute name="managed">strict</attribute>
  1475. </task>
  1476. <task name="vbc">
  1477. <attribute name="exename">vbnc</attribute>
  1478. <attribute name="managed">true</attribute>
  1479. </task>
  1480. <task name="resgen">
  1481. <attribute name="exename">${resgen.tool}</attribute>
  1482. <attribute name="managed">true</attribute>
  1483. <attribute name="supportsexternalfilereferences">${resgen.supportsexternalfilereferences}</attribute>
  1484. </task>
  1485. <task name="delay-sign">
  1486. <attribute name="exename">sn</attribute>
  1487. <attribute name="managed">true</attribute>
  1488. </task>
  1489. <task name="license">
  1490. <attribute name="hascommandlinecompiler">false</attribute>
  1491. </task>
  1492. <task name="ilasm">
  1493. <attribute name="managed">true</attribute>
  1494. </task>
  1495. </tasks>
  1496. </framework>
  1497. <framework
  1498. name="mono-3.5"
  1499. family="mono"
  1500. version="3.5"
  1501. description="Mono 3.5 Profile"
  1502. sdkdirectory="${toolDirectory}"
  1503. frameworkdirectory="${toolDirectory}"
  1504. frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}"
  1505. clrversion="2.0.50727"
  1506. clrtype="Desktop"
  1507. vendor="Mono"
  1508. >
  1509. <runtime>
  1510. <probing-paths>
  1511. <directory name="lib/mono/2.0" />
  1512. <directory name="lib/mono/neutral" />
  1513. <directory name="lib/common/2.0" />
  1514. <directory name="lib/common/neutral" />
  1515. </probing-paths>
  1516. <modes>
  1517. <auto>
  1518. <engine program="${runtimeEngine}" />
  1519. <environment>
  1520. <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
  1521. <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
  1522. </environment>
  1523. </auto>
  1524. <strict>
  1525. <engine program="${runtimeEngine}">
  1526. <arg value="--runtime=v2.0.50727" />
  1527. </engine>
  1528. <environment>
  1529. <variable name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" />
  1530. <variable name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" />
  1531. </environment>
  1532. </strict>
  1533. </modes>
  1534. </runtime>
  1535. <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}">
  1536. <include name="*.dll" />
  1537. </reference-assemblies>
  1538. <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/3.0')}">
  1539. <include name="*.dll" />
  1540. </reference-assemblies>
  1541. <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}">
  1542. <include name="*.dll" />
  1543. </reference-assemblies>
  1544. <task-assemblies>
  1545. <!-- include Mono version-neutral assemblies -->
  1546. <include name="extensions/mono/neutral/**/*.dll" />
  1547. <!-- include Mono 2.0 specific assemblies -->
  1548. <include name="extensions/mono/2.0/**/*.dll" />
  1549. <!-- include .NET 2.0 specific assemblies -->
  1550. <include name="extensions/common/2.0/**/*.dll" />
  1551. </task-assemblies>
  1552. <tool-paths>
  1553. <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
  1554. <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
  1555. <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
  1556. <!-- unmanaged tools -->
  1557. <directory name="${sdkInstallRoot}/bin" />
  1558. </tool-paths>
  1559. <project>
  1560. <!-- quick and dirty check to see if pkg-config is available (and configured) -->
  1561. <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
  1562. <if test="${pkgconfig.available}">
  1563. <if test="${pkg-config::exists('mono')}">
  1564. <call target="configure-from-pkg-config" />
  1565. </if>
  1566. <if test="${not pkg-config::exists('mono')}">
  1567. <call target="configure-from-registry" />
  1568. </if>
  1569. </if>
  1570. <if test="${not pkgconfig.available}">
  1571. <call target="configure-from-registry" />
  1572. </if>
  1573. <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/3.5')}" />
  1574. <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
  1575. <target name="configure-from-pkg-config">
  1576. <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
  1577. <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
  1578. <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
  1579. <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
  1580. </target>
  1581. <target name="configure-from-registry">
  1582. <readregistry
  1583. property="mono.version"
  1584. key="SOFTWARE\Novell\Mono\DefaultCLR"
  1585. hive="LocalMachine"
  1586. />
  1587. <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
  1588. <readregistry
  1589. property="sdkInstallRoot"
  1590. key="${monokey}\SdkInstallRoot"
  1591. hive="LocalMachine" />
  1592. <readregistry
  1593. property="frameworkAssemblyDirectory"
  1594. key="${monokey}\FrameworkAssemblyDirectory"
  1595. hive="LocalMachine" />
  1596. <readregistry
  1597. property="configDir"
  1598. key="${monokey}\MonoConfigDir"
  1599. hive="LocalMachine" />
  1600. </target>
  1601. </project>
  1602. <properties>
  1603. </properties>
  1604. <tasks>
  1605. <task name="al">
  1606. <attribute name="managed">true</attribute>
  1607. </task>
  1608. <task name="csc">
  1609. <attribute name="exename">gmcs</attribute>
  1610. <attribute name="managed">true</attribute>
  1611. <attribute name="langversion">linq</attribute>
  1612. <attribute name="supportspackagereferences">true</attribute>
  1613. <attribute name="supportsnowarnlist">true</attribute>
  1614. <attribute name="supportsdocgeneration">true</attribute>
  1615. <attribute name="supportskeycontainer">true</attribute>
  1616. <attribute name="supportskeyfile">true</attribute>
  1617. <attribute name="supportsdelaysign">true</attribute>
  1618. <attribute name="supportslangversion">true</attribute>
  1619. </task>
  1620. <task name="jsc">
  1621. <attribute name="exename">mjs</attribute>
  1622. <attribute name="managed">strict</attribute>
  1623. </task>
  1624. <task name="vbc">
  1625. <attribute name="exename">vbnc</attribute>
  1626. <attribute name="managed">true</attribute>
  1627. </task>
  1628. <task name="resgen">
  1629. <attribute name="managed">true</attribute>
  1630. <attribute name="supportsexternalfilereferences">true</attribute>
  1631. </task>
  1632. <task name="delay-sign">
  1633. <attribute name="exename">sn</attribute>
  1634. <attribute name="managed">true</attribute>
  1635. </task>
  1636. <task name="license">
  1637. <attribute name="hascommandlinecompiler">false</attribute>
  1638. </task>
  1639. <task name="ilasm">
  1640. <attribute name="managed">true</attribute>
  1641. </task>
  1642. </tasks>
  1643. </framework>
  1644. <framework
  1645. name="moonlight-2.0"
  1646. family="moonlight"
  1647. version="2.0"
  1648. description="Moonlight 2.0"
  1649. sdkdirectory="${toolDirectory}"
  1650. frameworkdirectory="${toolDirectory}"
  1651. frameworkassemblydirectory="${toolDirectory}"
  1652. clrversion="2.0.50727"
  1653. clrtype="Browser"
  1654. vendor="Mono"
  1655. >
  1656. <runtime>
  1657. <modes>
  1658. <auto>
  1659. <engine program="${runtimeEngine}">
  1660. <arg value="--runtime=moonlight" />
  1661. <arg value="--security=temporary-smcs-hack" />
  1662. </engine>
  1663. </auto>
  1664. </modes>
  1665. </runtime>
  1666. <reference-assemblies basedir="${path::combine(frameworkAssemblyDirectory, 'lib/mono/2.1')}">
  1667. <include name="Microsoft.VisualBasic.dll" />
  1668. <include name="mscorlib.dll" />
  1669. <include name="System.Core.dll" />
  1670. <include name="System.dll" />
  1671. <include name="System.Net.dll" />
  1672. <include name="System.Runtime.Serialization.dll" />
  1673. <include name="System.ServiceModel.dll" />
  1674. <include name="System.ServiceModel.Web.dll" />
  1675. <include name="System.Windows.Browser.dll" />
  1676. <include name="System.Windows.dll" />
  1677. <include name="System.Xml.dll" />
  1678. </reference-assemblies>
  1679. <task-assemblies>
  1680. <!-- include MS.NET version-neutral assemblies -->
  1681. <include name="extensions/net/neutral/**/*.dll" />
  1682. <!-- include MS.NET 2.0 specific assemblies -->
  1683. <include name="extensions/net/2.0/**/*.dll" />
  1684. <!-- include MS.NET specific task assembly -->
  1685. <include name="NAnt.MSNetTasks.dll" />
  1686. <!-- include MS.NET specific test assembly -->
  1687. <include name="NAnt.MSNet.Tests.dll" />
  1688. <!-- include .NET 2.0 specific assemblies -->
  1689. <include name="extensions/common/2.0/**/*.dll" />
  1690. </task-assemblies>
  1691. <tool-paths>
  1692. <directory name="${toolDirectory}" />
  1693. <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/2.0')}" />
  1694. <directory name="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" />
  1695. <!-- unmanaged tools -->
  1696. <directory name="${sdkInstallRoot}/bin" />
  1697. </tool-paths>
  1698. <project>
  1699. <!-- quick and dirty check to see if pkg-config is available (and configured) -->
  1700. <property name="pkgconfig.available" value="${environment::variable-exists('PKG_CONFIG_PATH')}" />
  1701. <if test="${pkgconfig.available}">
  1702. <if test="${pkg-config::exists('mono')}">
  1703. <call target="configure-from-pkg-config" />
  1704. </if>
  1705. <if test="${not pkg-config::exists('mono')}">
  1706. <call target="configure-from-registry" />
  1707. </if>
  1708. </if>
  1709. <if test="${not pkgconfig.available}">
  1710. <call target="configure-from-registry" />
  1711. </if>
  1712. <property name="toolDirectory" value="${path::combine(frameworkAssemblyDirectory, 'mono/2.1')}" />
  1713. <property name="runtimeEngine" value="${path::combine(sdkInstallRoot, 'bin/mono.exe')}" />
  1714. <target name="configure-from-pkg-config">
  1715. <property name="mono.version" value="${pkg-config::get-mod-version('mono')}" />
  1716. <property name="sdkInstallRoot" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'prefix'))}" />
  1717. <property name="frameworkAssemblyDirectory" value="${cygpath::get-windows-path(pkg-config::get-variable('mono', 'libdir'))}" />
  1718. <property name="configDir" value="${path::combine(sdkInstallRoot, 'etc')}/" />
  1719. </target>
  1720. <target name="configure-from-registry">
  1721. <readregistry
  1722. property="mono.version"
  1723. key="SOFTWARE\Novell\Mono\DefaultCLR"
  1724. hive="LocalMachine"
  1725. />
  1726. <property name="monokey" value="SOFTWARE\Novell\Mono\${mono.version}" />
  1727. <readregistry
  1728. property="sdkInstallRoot"
  1729. key="${monokey}\SdkInstallRoot"
  1730. hive="LocalMachine" />
  1731. <readregistry
  1732. property="frameworkAssemblyDirectory"
  1733. key="${monokey}\FrameworkAssemblyDirectory"
  1734. hive="LocalMachine" />
  1735. <readregistry
  1736. property="configDir"
  1737. key="${monokey}\MonoConfigDir"
  1738. hive="LocalMachine" />
  1739. </target>
  1740. </project>
  1741. <tasks>
  1742. <task name="csc">
  1743. <attribute name="exename">smcs</attribute>
  1744. <attribute name="managed">true</attribute>
  1745. <attribute name="supportspackagereferences">true</attribute>
  1746. <attribute name="supportsnowarnlist">true</attribute>
  1747. <attribute name="supportsdocgeneration">true</attribute>
  1748. <attribute name="supportskeycontainer">true</attribute>
  1749. <attribute name="supportskeyfile">true</attribute>
  1750. <attribute name="supportsdelaysign">true</attribute>
  1751. <attribute name="supportslangversion">true</attribute>
  1752. </task>
  1753. <task name="resgen">
  1754. <attribute name="supportsassemblyreferences">true</attribute>
  1755. <attribute name="supportsexternalfilereferences">true</attribute>
  1756. </task>
  1757. <task name="delay-sign">
  1758. <attribute name="exename">sn</attribute>
  1759. </task>
  1760. <task name="license">
  1761. <attribute name="hascommandlinecompiler">false</attribute>
  1762. </task>
  1763. </tasks>
  1764. </framework>
  1765. <framework
  1766. name="sscli-1.0"
  1767. family="sscli"
  1768. version="1.0"
  1769. description="Microsoft Shared Source CLI 1.0"
  1770. sdkdirectory="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin"
  1771. frameworkdirectory="C:\sscli\build\v1.x86fstchk.rotor"
  1772. frameworkassemblydirectory="C:\sscli\build\v1.x86fstchk.rotor"
  1773. clrversion="1.0.3"
  1774. clrtype="Desktop"
  1775. vendor="Microsoft"
  1776. >
  1777. <runtime>
  1778. <modes>
  1779. <auto>
  1780. <engine program="C:\sscli\build\v1.x86fstchk.rotor\clix.exe" />
  1781. </auto>
  1782. </modes>
  1783. </runtime>
  1784. <reference-assemblies basedir="C:\sscli\build\v1.x86fstchk.rotor">
  1785. <include name="*.dll" />
  1786. </reference-assemblies>
  1787. <task-assemblies>
  1788. <!-- this is not a supported runtime framework -->
  1789. </task-assemblies>
  1790. <tool-paths>
  1791. <directory name="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin" />
  1792. <directory name="C:\sscli\build\v1.x86fstchk.rotor" />
  1793. </tool-paths>
  1794. <project />
  1795. <tasks>
  1796. <task name="csc">
  1797. <attribute name="supportsnowarnlist">true</attribute>
  1798. </task>
  1799. <task name="jsc">
  1800. <attribute name="managed">true</attribute>
  1801. </task>
  1802. <task name="delay-sign">
  1803. <attribute name="exename">sn</attribute>
  1804. </task>
  1805. <task name="license">
  1806. <attribute name="hascommandlinecompiler">false</attribute>
  1807. </task>
  1808. <task name="ilasm">
  1809. <attribute name="managed">true</attribute>
  1810. </task>
  1811. <task name="ildasm">
  1812. <attribute name="managed">true</attribute>
  1813. </task>
  1814. </tasks>
  1815. </framework>
  1816. </platform>
  1817. <platform name="unix" default="auto">
  1818. <task-assemblies>
  1819. <!-- include NAnt task assemblies -->
  1820. <include name="*Tasks.dll" />
  1821. <!-- include NAnt test assemblies -->
  1822. <include name="*Tests.dll" />
  1823. <!-- include framework-neutral assemblies -->
  1824. <include name="extensions/common/neutral/**/*.dll" />
  1825. <!-- exclude Microsoft.NET specific task assembly -->
  1826. <exclude name="NAnt.MSNetTasks.dll" />
  1827. <!-- exclude Microsoft.NET specific test assembly -->
  1828. <exclude name="NAnt.MSNet.Tests.dll" />
  1829. <!-- exclude win32 specific task assembly -->
  1830. <exclude name="NAnt.Win32Tasks.dll" />
  1831. <!-- exclude win32 specific test assembly -->
  1832. <exclude name="NAnt.Win32.Tests.dll" />
  1833. </task-assemblies>
  1834. <framework
  1835. name="mono-1.0"
  1836. family="mono"
  1837. version="1.0"
  1838. description="Mono 1.0 Profile"
  1839. sdkdirectory="${toolDirectory}"
  1840. frameworkdirectory="${toolDirectory}"
  1841. frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/1.0')}"
  1842. clrversion="1.1.4322"
  1843. clrtype="Desktop"
  1844. vendor="Mono"
  1845. >
  1846. <runtime>
  1847. <probing-paths>
  1848. <directory name="lib/mono/1.0" />
  1849. <directory name="lib/mono/neutral" />
  1850. <directory name="lib/common/1.1" />
  1851. <directory name="lib/common/neutral" />
  1852. </probing-paths>
  1853. <modes>
  1854. <auto>
  1855. <engine program="${path::combine(prefix, 'bin/mono')}" />
  1856. </auto>
  1857. <strict>
  1858. <engine program="${path::combine(prefix, 'bin/mono')}">
  1859. <arg value="--runtime=v1.1.4322" />
  1860. </engine>
  1861. </strict>
  1862. </modes>
  1863. </runtime>
  1864. <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/1.0')}">
  1865. <include name="*.dll" />
  1866. </reference-assemblies>
  1867. <task-assemblies>
  1868. <!-- include Mono version-neutral assemblies -->
  1869. <include name="extensions/mono/neutral/**/*.dll" />
  1870. <!-- include Mono 1.0 specific assemblies -->
  1871. <include name="extensions/mono/1.0/**/*.dll" />
  1872. <!-- include .NET 1.1 specific assemblies -->
  1873. <include name="extensions/common/1.1/**/*.dll" />
  1874. </task-assemblies>
  1875. <tool-paths>
  1876. <directory name="${toolDirectory}" />
  1877. <!-- unmanaged tools -->
  1878. <directory name="${prefix}/bin" />
  1879. </tool-paths>
  1880. <project>
  1881. <if test="${not pkg-config::exists('mono')}">
  1882. <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
  1883. </if>
  1884. <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
  1885. <if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
  1886. <property name="toolDirectory" value="${path::combine(prefix, 'bin')}" />
  1887. <property name="resgen.tool" value="monoresgen" />
  1888. <property name="csc.supportsdocgeneration" value="false" />
  1889. </if>
  1890. <if test="${pkg-config::is-atleast-version('mono', '1.1')}">
  1891. <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/1.0')}" />
  1892. <property name="resgen.tool" value="resgen" />
  1893. <property name="csc.supportsdocgeneration" value="true" />
  1894. </if>
  1895. </project>
  1896. <tasks>
  1897. <task name="al">
  1898. <attribute name="managed">true</attribute>
  1899. </task>
  1900. <task name="csc">
  1901. <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mcs.exe')}</attribute>
  1902. <attribute name="managed">true</attribute>
  1903. <attribute name="supportspackagereferences">true</attribute>
  1904. <attribute name="supportsnowarnlist">true</attribute>
  1905. <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
  1906. <attribute name="supportskeycontainer">true</attribute>
  1907. <attribute name="supportskeyfile">true</attribute>
  1908. <attribute name="supportsdelaysign">true</attribute>
  1909. <attribute name="supportslangversion">true</attribute>
  1910. </task>
  1911. <task name="jsc">
  1912. <attribute name="exename">mjs</attribute>
  1913. <attribute name="managed">true</attribute>
  1914. </task>
  1915. <task name="vbc">
  1916. <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute>
  1917. <attribute name="managed">true</attribute>
  1918. </task>
  1919. <task name="resgen">
  1920. <attribute name="exename">${resgen.tool}</attribute>
  1921. <attribute name="managed">true</attribute>
  1922. </task>
  1923. <task name="delay-sign">
  1924. <attribute name="exename">sn</attribute>
  1925. <attribute name="managed">true</attribute>
  1926. </task>
  1927. <task name="license">
  1928. <attribute name="hascommandlinecompiler">false</attribute>
  1929. </task>
  1930. <task name="ilasm">
  1931. <attribute name="managed">true</attribute>
  1932. </task>
  1933. </tasks>
  1934. </framework>
  1935. <framework
  1936. name="mono-2.0"
  1937. family="mono"
  1938. version="2.0"
  1939. description="Mono 2.0 Profile"
  1940. sdkdirectory="${toolDirectory}"
  1941. frameworkdirectory="${toolDirectory}"
  1942. frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
  1943. clrversion="2.0.50727"
  1944. clrtype="Desktop"
  1945. vendor="Mono"
  1946. >
  1947. <runtime>
  1948. <probing-paths>
  1949. <directory name="lib/mono/2.0" />
  1950. <directory name="lib/mono/neutral" />
  1951. <directory name="lib/common/2.0" />
  1952. <directory name="lib/common/neutral" />
  1953. </probing-paths>
  1954. <modes>
  1955. <auto>
  1956. <engine program="${path::combine(prefix, 'bin/mono')}" />
  1957. </auto>
  1958. <strict>
  1959. <engine program="${path::combine(prefix, 'bin/mono')}">
  1960. <arg value="--runtime=v2.0.50727" />
  1961. </engine>
  1962. </strict>
  1963. </modes>
  1964. </runtime>
  1965. <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
  1966. <include name="*.dll" />
  1967. </reference-assemblies>
  1968. <task-assemblies>
  1969. <!-- include Mono version-neutral assemblies -->
  1970. <include name="extensions/mono/neutral/**/*.dll" />
  1971. <!-- include Mono 2.0 specific assemblies -->
  1972. <include name="extensions/mono/2.0/**/*.dll" />
  1973. <!-- include .NET 2.0 specific assemblies -->
  1974. <include name="extensions/common/2.0/**/*.dll" />
  1975. </task-assemblies>
  1976. <tool-paths>
  1977. <directory name="${toolDirectory}" />
  1978. <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
  1979. <!-- unmanaged tools -->
  1980. <directory name="${prefix}/bin" />
  1981. </tool-paths>
  1982. <project>
  1983. <if test="${not pkg-config::exists('mono')}">
  1984. <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
  1985. </if>
  1986. <property name="resgen.supportsexternalfilereferences" value="false" />
  1987. <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
  1988. <if test="${not(pkg-config::is-atleast-version('mono', '1.1'))}">
  1989. <property name="toolDirectory" value="${path::combine(prefix, 'bin')}" />
  1990. <property name="resgen.tool" value="monoresgen" />
  1991. <property name="csc.supportsdocgeneration" value="false" />
  1992. </if>
  1993. <if test="${pkg-config::is-atleast-version('mono', '1.1')}">
  1994. <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/2.0')}" />
  1995. <property name="resgen.tool" value="resgen" />
  1996. <property name="csc.supportsdocgeneration" value="true" />
  1997. </if>
  1998. <!-- as from Mono 1.2.3.50, resgen supports the /usesourcepath option -->
  1999. <if test="${pkg-config::is-atleast-version('mono', '1.2.3.50')}">
  2000. <property name="resgen.supportsexternalfilereferences" value="true" />
  2001. </if>
  2002. </project>
  2003. <tasks>
  2004. <task name="al">
  2005. <attribute name="managed">true</attribute>
  2006. </task>
  2007. <task name="csc">
  2008. <attribute name="exename">gmcs</attribute>
  2009. <attribute name="managed">true</attribute>
  2010. <attribute name="supportspackagereferences">true</attribute>
  2011. <attribute name="supportsnowarnlist">true</attribute>
  2012. <attribute name="supportsdocgeneration">${csc.supportsdocgeneration}</attribute>
  2013. <attribute name="supportskeycontainer">true</attribute>
  2014. <attribute name="supportskeyfile">true</attribute>
  2015. <attribute name="supportsdelaysign">true</attribute>
  2016. <attribute name="supportslangversion">true</attribute>
  2017. </task>
  2018. <task name="jsc">
  2019. <attribute name="exename">mjs</attribute>
  2020. <attribute name="managed">strict</attribute>
  2021. </task>
  2022. <task name="vbc">
  2023. <attribute name="exename">vbnc</attribute>
  2024. <attribute name="managed">true</attribute>
  2025. </task>
  2026. <task name="resgen">
  2027. <attribute name="exename">${resgen.tool}</attribute>
  2028. <attribute name="managed">true</attribute>
  2029. <attribute name="supportsexternalfilereferences">${resgen.supportsexternalfilereferences}</attribute>
  2030. </task>
  2031. <task name="delay-sign">
  2032. <attribute name="exename">sn</attribute>
  2033. <attribute name="managed">true</attribute>
  2034. </task>
  2035. <task name="license">
  2036. <attribute name="hascommandlinecompiler">false</attribute>
  2037. </task>
  2038. <task name="ilasm">
  2039. <attribute name="managed">true</attribute>
  2040. </task>
  2041. </tasks>
  2042. </framework>
  2043. <framework
  2044. name="mono-3.5"
  2045. family="mono"
  2046. version="3.5"
  2047. description="Mono 3.5 Profile"
  2048. sdkdirectory="${toolDirectory}"
  2049. frameworkdirectory="${toolDirectory}"
  2050. frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}"
  2051. clrversion="2.0.50727"
  2052. clrtype="Desktop"
  2053. vendor="Mono"
  2054. >
  2055. <runtime>
  2056. <probing-paths>
  2057. <directory name="lib/mono/2.0" />
  2058. <directory name="lib/mono/neutral" />
  2059. <directory name="lib/common/2.0" />
  2060. <directory name="lib/common/neutral" />
  2061. </probing-paths>
  2062. <modes>
  2063. <auto>
  2064. <engine program="${path::combine(prefix, 'bin/mono')}" />
  2065. </auto>
  2066. <strict>
  2067. <engine program="${path::combine(prefix, 'bin/mono')}">
  2068. <arg value="--runtime=v2.0.50727" />
  2069. </engine>
  2070. </strict>
  2071. </modes>
  2072. </runtime>
  2073. <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.5')}">
  2074. <include name="*.dll" />
  2075. </reference-assemblies>
  2076. <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/3.0')}">
  2077. <include name="*.dll" />
  2078. </reference-assemblies>
  2079. <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.0')}">
  2080. <include name="*.dll" />
  2081. </reference-assemblies>
  2082. <task-assemblies>
  2083. <!-- include Mono version-neutral assemblies -->
  2084. <include name="extensions/mono/neutral/**/*.dll" />
  2085. <!-- include Mono 2.0 specific assemblies -->
  2086. <include name="extensions/mono/2.0/**/*.dll" />
  2087. <!-- include .NET 2.0 specific assemblies -->
  2088. <include name="extensions/common/2.0/**/*.dll" />
  2089. </task-assemblies>
  2090. <tool-paths>
  2091. <directory name="${toolDirectory}" />
  2092. <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
  2093. <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
  2094. <!-- unmanaged tools -->
  2095. <directory name="${prefix}/bin" />
  2096. </tool-paths>
  2097. <project>
  2098. <if test="${not pkg-config::exists('mono')}">
  2099. <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
  2100. </if>
  2101. <property name="resgen.supportsexternalfilereferences" value="false" />
  2102. <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
  2103. <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/3.5')}" />
  2104. </project>
  2105. <tasks>
  2106. <task name="al">
  2107. <attribute name="managed">true</attribute>
  2108. </task>
  2109. <task name="csc">
  2110. <attribute name="exename">gmcs</attribute>
  2111. <attribute name="managed">true</attribute>
  2112. <attribute name="langversion">linq</attribute>
  2113. <attribute name="supportspackagereferences">true</attribute>
  2114. <attribute name="supportsnowarnlist">true</attribute>
  2115. <attribute name="supportsdocgeneration">true</attribute>
  2116. <attribute name="supportskeycontainer">true</attribute>
  2117. <attribute name="supportskeyfile">true</attribute>
  2118. <attribute name="supportsdelaysign">true</attribute>
  2119. <attribute name="supportslangversion">true</attribute>
  2120. </task>
  2121. <task name="jsc">
  2122. <attribute name="exename">mjs</attribute>
  2123. <attribute name="managed">strict</attribute>
  2124. </task>
  2125. <task name="vbc">
  2126. <attribute name="exename">vbnc</attribute>
  2127. <attribute name="managed">true</attribute>
  2128. </task>
  2129. <task name="resgen">
  2130. <attribute name="managed">true</attribute>
  2131. <attribute name="supportsexternalfilereferences">true</attribute>
  2132. </task>
  2133. <task name="delay-sign">
  2134. <attribute name="exename">sn</attribute>
  2135. <attribute name="managed">true</attribute>
  2136. </task>
  2137. <task name="license">
  2138. <attribute name="hascommandlinecompiler">false</attribute>
  2139. </task>
  2140. <task name="ilasm">
  2141. <attribute name="managed">true</attribute>
  2142. </task>
  2143. </tasks>
  2144. </framework>
  2145. <framework
  2146. name="moonlight-2.0"
  2147. family="moonlight"
  2148. version="2.0"
  2149. description="Moonlight 2.0"
  2150. sdkdirectory="${toolDirectory}"
  2151. frameworkdirectory="${toolDirectory}"
  2152. frameworkassemblydirectory="${toolDirectory}"
  2153. clrversion="2.0.50727"
  2154. clrtype="Browser"
  2155. vendor="Mono"
  2156. >
  2157. <runtime>
  2158. <modes>
  2159. <auto>
  2160. <engine program="${path::combine(prefix, 'bin/mono')}">
  2161. <arg value="--runtime=moonlight" />
  2162. <arg value="--security=temporary-smcs-hack" />
  2163. </engine>
  2164. </auto>
  2165. </modes>
  2166. </runtime>
  2167. <reference-assemblies basedir="${path::combine(prefix, 'lib/mono/2.1')}">
  2168. <include name="Microsoft.VisualBasic.dll" />
  2169. <include name="mscorlib.dll" />
  2170. <include name="System.Core.dll" />
  2171. <include name="System.dll" />
  2172. <include name="System.Net.dll" />
  2173. <include name="System.Runtime.Serialization.dll" />
  2174. <include name="System.ServiceModel.dll" />
  2175. <include name="System.ServiceModel.Web.dll" />
  2176. <include name="System.Windows.Browser.dll" />
  2177. <include name="System.Windows.dll" />
  2178. <include name="System.Xml.dll" />
  2179. </reference-assemblies>
  2180. <task-assemblies>
  2181. <!-- include MS.NET version-neutral assemblies -->
  2182. <include name="extensions/net/neutral/**/*.dll" />
  2183. <!-- include MS.NET 2.0 specific assemblies -->
  2184. <include name="extensions/net/2.0/**/*.dll" />
  2185. <!-- include MS.NET specific task assembly -->
  2186. <include name="NAnt.MSNetTasks.dll" />
  2187. <!-- include MS.NET specific test assembly -->
  2188. <include name="NAnt.MSNet.Tests.dll" />
  2189. <!-- include .NET 2.0 specific assemblies -->
  2190. <include name="extensions/common/2.0/**/*.dll" />
  2191. </task-assemblies>
  2192. <tool-paths>
  2193. <directory name="${toolDirectory}" />
  2194. <directory name="${path::combine(prefix, 'lib/mono/2.0')}" />
  2195. <directory name="${path::combine(prefix, 'lib/mono/1.0')}" />
  2196. <!-- unmanaged tools -->
  2197. <directory name="${prefix}/bin" />
  2198. </tool-paths>
  2199. <project>
  2200. <if test="${not pkg-config::exists('mono')}">
  2201. <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail>
  2202. </if>
  2203. <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" />
  2204. <property name="toolDirectory" value="${path::combine(prefix, 'lib/mono/2.1')}" />
  2205. </project>
  2206. <tasks>
  2207. <task name="csc">
  2208. <attribute name="exename">smcs</attribute>
  2209. <attribute name="managed">true</attribute>
  2210. <attribute name="supportspackagereferences">true</attribute>
  2211. <attribute name="supportsnowarnlist">true</attribute>
  2212. <attribute name="supportsdocgeneration">true</attribute>
  2213. <attribute name="supportskeycontainer">true</attribute>
  2214. <attribute name="supportskeyfile">true</attribute>
  2215. <attribute name="supportsdelaysign">true</attribute>
  2216. <attribute name="supportslangversion">true</attribute>
  2217. </task>
  2218. <task name="resgen">
  2219. <attribute name="supportsassemblyreferences">true</attribute>
  2220. <attribute name="supportsexternalfilereferences">true</attribute>
  2221. </task>
  2222. <task name="delay-sign">
  2223. <attribute name="exename">sn</attribute>
  2224. </task>
  2225. <task name="license">
  2226. <attribute name="hascommandlinecompiler">false</attribute>
  2227. </task>
  2228. </tasks>
  2229. </framework>
  2230. </platform>
  2231. </frameworks>
  2232. <properties>
  2233. <!-- properties defined here are accessible to all build files -->
  2234. <!-- <property name="foo" value = "bar" readonly="false" /> -->
  2235. </properties>
  2236. </nant>
  2237. <!--
  2238. This section contains the log4net configuration settings.
  2239. By default, no messages will be logged to the log4net logging infrastructure.
  2240. To enable the internal logging, set the threshold attribute on the log4net element
  2241. to "ALL".
  2242. When internal logging is enabled, internal messages will be written to the
  2243. console.
  2244. -->
  2245. <log4net threshold="OFF">
  2246. <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
  2247. <layout type="log4net.Layout.PatternLayout">
  2248. <param name="ConversionPattern" value="[%c{2}:%m - [%x] &lt;%X{auth}&gt;]%n" />
  2249. </layout>
  2250. </appender>
  2251. <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
  2252. <param name="File" value="${APPDATA}\\NAnt\\NAnt.log" />
  2253. <param name="AppendToFile" value="true" />
  2254. <param name="MaxSizeRollBackups" value="2" />
  2255. <param name="MaximumFileSize" value="500KB" />
  2256. <param name="RollingStyle" value="Size" />
  2257. <param name="StaticLogFileName" value="true" />
  2258. <layout type="log4net.Layout.PatternLayout">
  2259. <param name="ConversionPattern" value="[%c{2}:%m - [%x] &lt;%X{auth}&gt;]%n" />
  2260. </layout>
  2261. </appender>
  2262. <!-- Setup the root category, add the appenders and set the default level -->
  2263. <root>
  2264. <!-- Only log messages with severity ERROR (or higher) -->
  2265. <level value="ERROR" />
  2266. <!-- Log messages to the console -->
  2267. <appender-ref ref="ConsoleAppender" />
  2268. <!-- Uncomment the next line to enable logging messages to the NAnt.log file -->
  2269. <!-- <appender-ref ref="RollingLogFileAppender" /> -->
  2270. </root>
  2271. <!-- Specify the priority for some specific categories -->
  2272. <!--
  2273. <logger name="NAnt.Core.TaskBuilderCollection">
  2274. <level value="DEBUG" />
  2275. </logger>
  2276. <logger name="NAnt">
  2277. <level value="INFO" />
  2278. </logger>
  2279. -->
  2280. </log4net>
  2281. <runtime>
  2282. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  2283. <probing privatePath="lib" />
  2284. </assemblyBinding>
  2285. <NetFx40_LegacySecurityPolicy enabled="true"/>
  2286. </runtime>
  2287. <startup>
  2288. <!-- .NET Framework 4.0 -->
  2289. <supportedRuntime version="v4.0.30319" />
  2290. <!-- .NET Framework 2.0 -->
  2291. <supportedRuntime version="v2.0.50727" />
  2292. <!-- .NET Framework 1.1 -->
  2293. <supportedRuntime version="v1.1.4322" />
  2294. <!-- .NET Framework 1.0 -->
  2295. <supportedRuntime version="v1.0.3705" />
  2296. </startup>
  2297. </configuration>