1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for System.Data.dll -->
5 <project name="System.Data" default="build">
6 <property name="debug" value="false"/>
9 <csc target="library" output="../lib/System.Data.dll" debug="${debug}">
10 <arg value="/nowarn:1595"/>
11 <arg value="/nowarn:0067"/>
12 <arg value="/nowarn:0109"/>
13 <arg value="/nowarn:0169"/>
14 <arg value="/nowarn:0679"/>
15 <arg value="/nowarn:0649"/>
16 <arg value="/unsafe"/>
17 <arg value="/noconfig"/>
18 <arg value="/r:System.dll"/>
19 <arg value="/r:System.EnterpriseServices.dll"/>
20 <arg value="/r:System.Xml.dll"/>
21 <sources basedir="..">
22 <includes name="Mono.Data.TdsClient/Mono.Data.TdsClient.Internal/*.cs"/>
23 <includes name="System.Data/**/*.cs"/>
24 <excludes name="System.Data/Test/**"/>
27 <includes name="../lib/corlib.dll"/>
28 <includes name="../lib/System.dll"/>
29 <includes name="../lib/System.EnterpriseServices.dll"/>
30 <includes name="../lib/System.Xml.dll"/>
33 <copy file="../lib/System.Data.dll" tofile="Test/System.Data.dll"/>
35 <target name="test" depends="build">
36 <nant basedir="Test" target="test"/>
39 <delete file="../lib/System.Data.dll" failonerror="false"/>
40 <delete file="Test/System.Data.dll" failonerror="false"/>