Guest User

Nant .NET Framework 4.0 Configuration

a guest
May 4th, 2010
885
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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="${path::combine(sdkInstallRoot, 'bin')}"
  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.Engine.dll" />
  31.         <include name="Microsoft.Build.Framework.dll" />
  32.         <include name="Microsoft.Build.Utilities.dll" />
  33.         <include name="Microsoft.Vsa.dll" />
  34.         <include name="Microsoft.VisualBasic.dll" />
  35.         <include name="Microsoft.VisualBasic.Compatibility.dll" />
  36.         <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
  37.         <include name="System.Configuration.dll" />
  38.         <include name="System.Configuration.Install.dll" />
  39.         <include name="System.Data.dll" />
  40.         <include name="System.Data.OracleClient.dll" />
  41.         <include name="System.Data.SqlXml.dll" />
  42.         <include name="System.Deployment.dll" />
  43.         <include name="System.Design.dll" />
  44.         <include name="System.DirectoryServices.dll" />
  45.         <include name="System.dll" />
  46.         <include name="System.Drawing.Design.dll" />
  47.         <include name="System.Drawing.dll" />
  48.         <include name="System.EnterpriseServices.dll" />
  49.         <include name="System.Management.dll" />
  50.         <include name="System.Messaging.dll" />
  51.         <include name="System.Runtime.Remoting.dll" />
  52.         <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
  53.         <include name="System.Security.dll" />
  54.         <include name="System.ServiceProcess.dll" />
  55.         <include name="System.Transactions.dll" />
  56.         <include name="System.Web.dll" />
  57.         <include name="System.Web.Mobile.dll" />
  58.         <include name="System.Web.RegularExpressions.dll" />
  59.         <include name="System.Web.Services.dll" />
  60.         <include name="System.Windows.Forms.dll" />
  61.         <include name="System.Xml.dll" />
  62.         <include name="Microsoft.Build.Engine.dll" />
  63.         <include name="Microsoft.Build.Framework.dll" />
  64.         <include name="System.AddIn.Contract.dll" />
  65.         <include name="System.AddIn.dll" />
  66.         <include name="System.Core.dll" />
  67.         <include name="System.Data.DataSetExtensions.dll" />
  68.         <include name="System.Data.Linq.dll" />
  69.         <include name="System.DirectoryServices.AccountManagement.dll" />
  70.         <include name="System.Management.Instrumentation.dll" />
  71.         <include name="System.Net.dll" />
  72.         <include name="System.ServiceModel.Web.dll" />
  73.         <include name="System.Web.Extensions.Design.dll" />
  74.         <include name="System.Web.Extensions.dll" />
  75.         <include name="System.Windows.Presentation.dll" />
  76.         <include name="System.WorkflowServices.dll" />
  77.         <include name="System.Xml.Linq.dll" />                     
  78.     </reference-assemblies>
  79.     <task-assemblies>
  80.         <!-- include MS.NET version-neutral assemblies -->
  81.         <include name="extensions/net/neutral/**/*.dll" />
  82.         <!-- include MS.NET 2.0 specific assemblies -->
  83.         <include name="extensions/net/2.0/**/*.dll" />
  84.         <!-- include MS.NET specific task assembly -->
  85.         <include name="NAnt.MSNetTasks.dll" />
  86.         <!-- include MS.NET specific test assembly -->
  87.         <include name="NAnt.MSNet.Tests.dll" />
  88.         <!-- include .NET 2.0 specific assemblies -->
  89.         <include name="extensions/common/2.0/**/*.dll" />
  90.     </task-assemblies>
  91.     <tool-paths>
  92.         <directory name="${path::combine(sdkInstallRoot, 'Bin')}"
  93.             if="${property::exists('sdkInstallRoot')}" />
  94.         <directory name="${path::combine(installRoot, 'v2.0.50727')}" />
  95.         <directory name="${path::combine(installRoot, 'v3.0')}" />
  96.         <directory name="${path::combine(installRoot, 'v3.5')}" />
  97.         <directory name="${path::combine(installRoot, 'v4.0.30319')}" />
  98.     </tool-paths>
  99.     <project>
  100.         <readregistry
  101.             property="installRoot"
  102.             key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
  103.             hive="LocalMachine" />
  104.         <readregistry
  105.             property="sdkInstallRoot"
  106.             key="SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDKNetFxTools\InstallationFolder"
  107.             hive="LocalMachine"
  108.             failonerror="false" />
  109.             <!--key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0"-->
  110.     </project>
  111.     <tasks>
  112.         <task name="csc">
  113.             <attribute name="supportsnowarnlist">true</attribute>
  114.             <attribute name="supportswarnaserrorlist">true</attribute>
  115.             <attribute name="supportskeycontainer">true</attribute>
  116.             <attribute name="supportskeyfile">true</attribute>
  117.             <attribute name="supportsdelaysign">true</attribute>
  118.             <attribute name="supportsplatform">true</attribute>
  119.             <attribute name="supportslangversion">true</attribute>
  120.         </task>
  121.         <task name="vbc">
  122.             <attribute name="supportsdocgeneration">true</attribute>
  123.             <attribute name="supportsnostdlib">true</attribute>
  124.             <attribute name="supportsnowarnlist">true</attribute>
  125.             <attribute name="supportskeycontainer">true</attribute>
  126.             <attribute name="supportskeyfile">true</attribute>
  127.             <attribute name="supportsdelaysign">true</attribute>
  128.             <attribute name="supportsplatform">true</attribute>
  129.             <attribute name="supportswarnaserrorlist">true</attribute>
  130.         </task>
  131.         <task name="jsc">
  132.             <attribute name="supportsplatform">true</attribute>
  133.         </task>
  134.         <task name="vjc">
  135.             <attribute name="supportsnowarnlist">true</attribute>
  136.             <attribute name="supportskeycontainer">true</attribute>
  137.             <attribute name="supportskeyfile">true</attribute>
  138.             <attribute name="supportsdelaysign">true</attribute>
  139.         </task>
  140.         <task name="resgen">
  141.             <attribute name="supportsassemblyreferences">true</attribute>
  142.             <attribute name="supportsexternalfilereferences">true</attribute>
  143.         </task>
  144.         <task name="delay-sign">
  145.             <attribute name="exename">sn</attribute>
  146.         </task>
  147.         <task name="license">
  148.             <attribute name="exename">lc</attribute>
  149.             <attribute name="supportsassemblyreferences">true</attribute>
  150.         </task>
  151.     </tasks>
  152. </framework>
RAW Paste Data