System.Windows.Forms.build 1.7 KB

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