prevent assembly copy from 2.0 to current output dir under .net 4.0 build

This commit is contained in:
sbohlen
2010-11-01 19:20:16 +00:00
parent a17316370b
commit 49349ef94a

View File

@@ -7,7 +7,7 @@
* current.build.defines.csc - framework-specific build defines for C# compiler
-->
<target name="build">
<if test="${net-3.0.installed and net-3.0}">
<if test="${net-3.0.installed and net-3.0 and not net-4.0}">
<property name="bin.dir.to.use" value="${current.bin.dir}\..\..\2.0\${current.build.config}"/>
<echo message="-----------------"/>
<echo message="Copying Spring NET 2.0 output to 3.0 bin directory except for Spring.Services, which will be compiled."/>
@@ -26,7 +26,7 @@
</copy>
</if>
<if test="${net-3.0.installed and net-3.0}">
<if test="${net-3.0.installed and net-3.0 and not net-4.0}">
<copy todir="${current.bin.dir}" overwrite="true" failonerror="true">
<fileset basedir="${bin.dir.to.use}">
<include name="*.dll"/>