System.Runtime.Serialization.Formatters.Soap_test.build 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_test" default="build">
  4. <property name="debug" value="false"/>
  5. <property name="nunit_home" value="..\..\..\nunit20"/>
  6. <target name="build">
  7. </target>
  8. <target name="assemblies">
  9. <csc target="library" output="System.Runtime.Serialization.Formatters.Soap_test.dll" debug="${debug}">
  10. <arg value="/nowarn:1595"/>
  11. <arg value="/noconfig"/>
  12. <sources>
  13. <includes name="**/*.cs"/>
  14. <excludes name="AllTests.cs"/>
  15. <excludes name="TheTests.cs"/>
  16. <excludes name="main.cs"/>
  17. </sources>
  18. <references basedir="..\..\..\nunit20">
  19. <includes name="NUnit.Framework.dll"/>
  20. </references>
  21. <arg value="/r:.\System.Runtime.Serialization.Formatters.Soap.dll"/>
  22. </csc>
  23. </target>
  24. <target name="test" depends="assemblies">
  25. <exec program="..\..\..\nunit20\nunit-console.exe" commandline="System.Runtime.Serialization.Formatters.Soap_test.dll" failonerror="false"/>
  26. </target>
  27. <target name="clean">
  28. <delete file="System.Runtime.Serialization.Formatters.Soap.dll" failonerror="false"/>
  29. <delete file="System.Runtime.Serialization.Formatters.Soap_test.dll" failonerror="false"/>
  30. <delete file="System.Runtime.Serialization.Formatters.Soap_test.pdb" failonerror="false"/>
  31. </target>
  32. </project>