System.Runtime.Serialization.Formatters.Soap.build 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!-- NAnt build file for System.Runtime.Serialization.Formatters.Soap.dll -->
  3. <project name="System.Runtime.Serialization.Formatters.Soap" default="build">
  4. <property name="debug" value="false"/>
  5. <target name="build">
  6. <mkdir dir="../lib"/>
  7. <csc target="library" output="../lib/System.Runtime.Serialization.Formatters.Soap.dll" debug="${debug}">
  8. <!-- 'foo' is defined in multiple places; using definition from 'bar' -->
  9. <arg value="/nowarn:1595"/>
  10. <!--arg value="/noconfig"/-->
  11. <!-- Other languages may permit the internal virtual member 'foo' to be overridden -->
  12. <arg value="/nowarn:0679"/>
  13. <arg value="/nowarn:0649"/>
  14. <arg value="/lib:../lib"/>
  15. <arg value="/r:System.Xml.dll"/>
  16. <sources>
  17. <includes name="**/*.cs"/>
  18. <excludes name="**/SoapServices.cs"/>
  19. <excludes name="**/ObjectManager.cs"/>
  20. <excludes name="**/ObjectSerializer.cs"/>
  21. <excludes name="**/ObjectDeserializer.cs"/>
  22. <excludes name="Test/**"/>
  23. <!--excludes name="System.Xml.Serialization/**"/-->
  24. </sources>
  25. </csc>
  26. <copy file="../lib/System.Runtime.Serialization.Formatters.Soap.dll" tofile="Test/System.Runtime.Serialization.Formatters.Soap.dll"/>
  27. <!--copy file="../lib/System.Xml.dll" tofile="Test/System.Xml.dll"/-->
  28. <!--nant basedir="Test" target="build"/-->
  29. </target>
  30. <target name="test" depends="build">
  31. <nant basedir="Test" target="test"/>
  32. </target>
  33. <target name="clean">
  34. <nant basedir="Test" target="clean"/>
  35. <delete file="../lib/System.Runtime.Serialization.Formatters.Soap.dll" failonerror="false"/>
  36. <delete file="Test/System.Runtime.Serialization.Formatters.Soap.dll" failonerror="false"/>
  37. <delete file="Test/System.Xml.dll" failonerror="false"/>
  38. <delete file="../lib/System.Runtime.Serialization.Formatters.Soap.pdb" failonerror="false"/>
  39. </target>
  40. </project>