1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for System.XML.dll -->
5 <project name="System.Windows.Forms" default="build">
6 <property name="debug" value="false"/>
10 <csc target="library" output="../lib/System.Windows.Forms.dll" debug="${debug}">
11 <!-- 'foo' is defined in multiple places; using definition from 'bar' -->
12 <arg value="/nowarn:1595"/>
13 <!-- Other languages may permit the internal virtual member 'foo' to be overridden -->
14 <arg value="/nowarn:0679"/>
15 <arg value="/nowarn:0649"/>
16 <arg value="/nowarn:0168"/>
17 <arg value="/nowarn:0067"/>
18 <arg value="/nowarn:108"/>
19 <arg value="/nowarn:114"/>
20 <arg value="/noconfig"/>
21 <arg value="/r:Accessibility.dll"/>
22 <arg value="/r:System.dll"/>
23 <arg value="/r:System.Drawing.dll"/>
24 <arg value="/unsafe"/>
26 <includes name="**/*.cs"/>
27 <excludes name="Test/**"/>
28 <excludes name="System.Windows.Forms.Test/**"/>
29 <excludes name="Gtk/**"/>
30 <excludes name="SWFTest/**"/>
31 <excludes name="System.Windows.Forms/PictureBox.cs"/>
32 <excludes name="System.Windows.Forms.Design/TODOAttribute.cs"/>
33 <excludes name="System.Windows.Forms.Design/AssemblyInfo.cs"/>
34 <excludes name="WINELib/**"/>
37 <copy file="../lib/System.Windows.Forms.dll" tofile="Test/System.Windows.Forms.dll"/>
40 <target name="test" depends="build">
41 <nant basedir="Test" target="test"/>
45 <nant basedir="Test" target="clean"/>
46 <delete file="../lib/System.Windows.Forms.dll" failonerror="false"/>
47 <delete file="Test/System.Windows.Forms.dll" failonerror="false"/>