System.Configuration.Install.build 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!-- NAnt build file for System.Configuration.Install.dll -->
  3. <project name="System.Configuration.install" default="build">
  4. <property name="debug" value="true"/>
  5. <target name="build">
  6. <mkdir dir="../lib"/>
  7. <csc target="library" output="../lib/System.Configuration.Install.dll" debug="${debug}">
  8. <arg value="/noconfig"/> <!-- don't reference ms assemblies -->
  9. <!-- cor compare dies with these currently -->
  10. <!--arg value="/nostdlib"/--> <!-- don't reference mscorlib -->
  11. <arg value="/r:mscorlib.dll"/>
  12. <arg value="/r:System.dll"/>
  13. <sources>
  14. <includes name="**/*.cs"/>
  15. <excludes name="Test/**"/>
  16. </sources>
  17. </csc>
  18. <copy file="../lib/System.Configuration.Install.dll" tofile="Test/System.Configuration.Install.dll"/>
  19. <nant basedir="Test" target="build"/>
  20. </target>
  21. <target name="test" depends="build">
  22. <nant basedir="Test" target="test"/>
  23. </target>
  24. <target name="clean">
  25. <nant basedir="Test" target="clean"/>
  26. <delete file="../lib/System.dll" failonerror="false"/>
  27. </target>
  28. </project>