1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for System.dll -->
5 <project name="System" default="build">
6 <property name="debug" value="false"/>
10 <csc target="library" output="../lib/System.dll" debug="${debug}">
11 <arg value="/nowarn:1595"/>
12 <arg value="/unsafe"/>
13 <arg value="/noconfig"/> <!-- don't reference ms assemblies -->
14 <arg value="/lib:../lib/"/>
16 <!-- cor compare dies with these currently -->
17 <!--arg value="/nostdlib"/--> <!-- don't reference mscorlib -->
18 <!--arg value="/r:corlib.dll"/-->
19 <arg value="/r:System.Xml.dll"/>
21 <includes name="**/*.cs"/>
22 <excludes name="Test/**"/>
23 <excludes name="System.CodeDom/Code-X-Collection.cs"/>
24 <excludes name="System.Net/IAuthenticationModule.cs"/>
25 <excludes name="System.Net/AuthenticationManager.cs"/>
28 <copy file="../lib/System.dll" tofile="Test/System.dll"/>
29 <nant basedir="Test" target="build"/>
32 <target name="test" depends="build">
33 <nant basedir="Test" target="test"/>
37 <nant basedir="Test" target="clean"/>
38 <delete file="../lib/System.dll" failonerror="false"/>