Advertisement
Guest User

Nant .NET Framework 4.0

a guest
Apr 14th, 2010
1,640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.99 KB | None | 0 0
  1. <framework
  2.    name="net-4.0"
  3.    family="net"
  4.    version="4.0"
  5.    vendor="Microsoft"
  6.    description="Microsoft .NET Framework 4.0"
  7.    sdkdirectory="${sdkInstallRoot}"
  8.    frameworkdirectory="${path::combine(installRoot, 'v4.0.30319')}"
  9.    frameworkassemblydirectory="${path::combine(installRoot, 'v4.0.30319')}"
  10.    clrversion="4.0.30319"
  11.    >
  12.     <runtime>
  13.         <probing-paths>
  14.             <directory name="lib/net/2.0" />
  15.             <directory name="lib/net/neutral" />
  16.             <directory name="lib/common/2.0" />
  17.             <directory name="lib/common/neutral" />
  18.         </probing-paths>
  19.         <modes>
  20.             <strict>
  21.                 <environment>
  22.                     <variable name="COMPLUS_VERSION" value="v4.0.30319" />
  23.                 </environment>
  24.             </strict>
  25.         </modes>
  26.     </runtime>
  27.     <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}">
  28.         <include name="Accessibility.dll" />
  29.         <include name="mscorlib.dll" />
  30.         <include name="Microsoft.Build.Utilities.dll" />
  31.         <include name="Microsoft.Vsa.dll" />
  32.         <include name="Microsoft.VisualBasic.dll" />
  33.         <include name="Microsoft.VisualBasic.Compatibility.dll" />
  34.         <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
  35.         <include name="System.Configuration.dll" />
  36.         <include name="System.Configuration.Install.dll" />
  37.         <include name="System.Data.dll" />
  38.         <include name="System.Data.OracleClient.dll" />
  39.         <include name="System.Data.SqlXml.dll" />
  40.         <include name="System.Deployment.dll" />
  41.         <include name="System.Design.dll" />
  42.         <include name="System.DirectoryServices.dll" />
  43.         <include name="System.dll" />
  44.         <include name="System.Drawing.Design.dll" />
  45.         <include name="System.Drawing.dll" />
  46.         <include name="System.EnterpriseServices.dll" />
  47.         <include name="System.Management.dll" />
  48.         <include name="System.Messaging.dll" />
  49.         <include name="System.Runtime.Remoting.dll" />
  50.         <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
  51.         <include name="System.Security.dll" />
  52.         <include name="System.ServiceProcess.dll" />
  53.         <include name="System.Transactions.dll" />
  54.         <include name="System.Web.dll" />
  55.         <include name="System.Web.Mobile.dll" />
  56.         <include name="System.Web.RegularExpressions.dll" />
  57.         <include name="System.Web.Services.dll" />
  58.         <include name="System.Windows.Forms.dll" />
  59.         <include name="System.Xml.dll" />
  60.         <include name="Microsoft.Build.Engine.dll" />
  61.         <include name="Microsoft.Build.Framework.dll" />
  62.         <include name="System.AddIn.Contract.dll" />
  63.         <include name="System.AddIn.dll" />
  64.         <include name="System.Core.dll" />
  65.         <include name="System.Data.DataSetExtensions.dll" />
  66.         <include name="System.Data.Linq.dll" />
  67.         <include name="System.DirectoryServices.AccountManagement.dll" />
  68.         <include name="System.Management.Instrumentation.dll" />
  69.         <include name="System.Net.dll" />
  70.         <include name="System.ServiceModel.Web.dll" />
  71.         <include name="System.Web.Extensions.Design.dll" />
  72.         <include name="System.Web.Extensions.dll" />
  73.         <include name="System.Windows.Presentation.dll" />
  74.         <include name="System.WorkflowServices.dll" />
  75.         <include name="System.Xml.Linq.dll" />                        
  76.     </reference-assemblies>
  77.     <task-assemblies>
  78.         <!-- include MS.NET version-neutral assemblies -->
  79.         <include name="extensions/net/neutral/**/*.dll" />
  80.         <!-- include MS.NET 2.0 specific assemblies -->
  81.         <include name="extensions/net/2.0/**/*.dll" />
  82.         <!-- include MS.NET specific task assembly -->
  83.         <include name="NAnt.MSNetTasks.dll" />
  84.         <!-- include MS.NET specific test assembly -->
  85.         <include name="NAnt.MSNet.Tests.dll" />
  86.         <!-- include .NET 2.0 specific assemblies -->
  87.         <include name="extensions/common/2.0/**/*.dll" />
  88.     </task-assemblies>
  89.     <tool-paths>
  90.         <directory name="${sdkInstallRoot}"
  91.             if="${property::exists('sdkInstallRoot')}" />
  92.         <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
  93.         <directory name="${path::combine(installRoot, 'v3.0')}" />
  94.         <directory name="${path::combine(installRoot, 'v3.5')}" />
  95.         <directory name="${path::combine(installRoot, 'v4.0.30319')}" />
  96.     </tool-paths>
  97.     <project>
  98.         <readregistry
  99.            property="installRoot"
  100.            key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
  101.            hive="LocalMachine" />
  102.         <readregistry
  103.            property="sdkInstallRoot"
  104.            key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools\InstallationFolder"
  105.            hive="LocalMachine"
  106.            failonerror="false" />
  107.     </project>
  108.     <tasks>
  109.         <task name="csc">
  110.             <attribute name="supportsnowarnlist">true</attribute>
  111.             <attribute name="supportswarnaserrorlist">true</attribute>
  112.             <attribute name="supportskeycontainer">true</attribute>
  113.             <attribute name="supportskeyfile">true</attribute>
  114.             <attribute name="supportsdelaysign">true</attribute>
  115.             <attribute name="supportsplatform">true</attribute>
  116.             <attribute name="supportslangversion">true</attribute>
  117.         </task>
  118.         <task name="vbc">
  119.             <attribute name="supportsdocgeneration">true</attribute>
  120.             <attribute name="supportsnostdlib">true</attribute>
  121.             <attribute name="supportsnowarnlist">true</attribute>
  122.             <attribute name="supportskeycontainer">true</attribute>
  123.             <attribute name="supportskeyfile">true</attribute>
  124.             <attribute name="supportsdelaysign">true</attribute>
  125.             <attribute name="supportsplatform">true</attribute>
  126.             <attribute name="supportswarnaserrorlist">true</attribute>
  127.         </task>
  128.         <task name="jsc">
  129.             <attribute name="supportsplatform">true</attribute>
  130.         </task>
  131.         <task name="vjc">
  132.             <attribute name="supportsnowarnlist">true</attribute>
  133.             <attribute name="supportskeycontainer">true</attribute>
  134.             <attribute name="supportskeyfile">true</attribute>
  135.             <attribute name="supportsdelaysign">true</attribute>
  136.         </task>
  137.         <task name="resgen">
  138.             <attribute name="supportsassemblyreferences">true</attribute>
  139.             <attribute name="supportsexternalfilereferences">true</attribute>
  140.         </task>
  141.         <task name="delay-sign">
  142.             <attribute name="exename">sn</attribute>
  143.         </task>
  144.         <task name="license">
  145.             <attribute name="exename">lc</attribute>
  146.             <attribute name="supportsassemblyreferences">true</attribute>
  147.         </task>
  148.     </tasks>
  149. </framework>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement