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/Microsoft.VisualBasic.dll" debug="${debug}">
11 <arg value="/nowarn:1595"/>
12 <arg value="/noconfig"/> <!-- don't reference ms assemblies -->
14 <!-- cor compare dies with these currently -->
15 <!--<arg value="/nostdlib"/>--> <!-- don't reference mscorlib -->
16 <!--<arg value="/lib:../lib/"/>-->
17 <!--<arg value="/r:..\lib\corlib.dll"/>-->
18 <!--<arg value="/r:..\lib\System.dll"/>-->
19 <arg value="/r:System.dll"/>
21 <includes name="**/*.cs"/>
22 <excludes name="Test/**"/>
25 <!--<includes name="../lib/corlib.dll"/>-->
26 <!--<includes name="../lib/System.dll"/>-->
29 <copy file="../lib/Microsoft.VisualBasic.dll" tofile="Test/Microsoft.VisualBasic.dll"/>
32 <target name="test" depends="build">
33 <nant basedir="Test" target="test"/>
37 <nant basedir="Test" target="clean"/>
38 <delete file="../lib/Microsoft.VisualBasic.dll" failonerror="false"/>