Hi, I'm back... OK, so I've decided to use the <solution> task against a master solution. The master.sln contains 25 projects. When I use the .build file:
<project name="MasterBuild" default="Release">
<property name="build.basedir" value="." />
<target name="Release" depends="Release.RefDir" />
<target name="Release.RefDir">
<property name="build.dir" value="${build.basedir}\Release" />
<property name="File.Sln" value=".\master.sln" />
<property name="Config.Target" value="release" />
<call target="Build.Release" />
</target>
<target name="setup">
<mkdir dir="${build.dir}" />
</target>
<target name="Build.Release" depends="setup">
<solution solutionfile="${File.Sln}" configuration="Release" />
<call target="rel-copy-to-output" />
</target>
<target name="rel-copy-to-output">
<copy todir="${build.dir}">
<fileset basedir=".">
<includes name=".\**\bin\Release\*.dll" />
<includes name=".\**\bin\Release\*.exe" />
</fileset>
</copy>
</target>
</project>
<property name="build.basedir" value="." />
<target name="Release" depends="Release.RefDir" />
<target name="Release.RefDir">
<property name="build.dir" value="${build.basedir}\Release" />
<property name="File.Sln" value=".\master.sln" />
<property name="Config.Target" value="release" />
<call target="Build.Release" />
</target>
<target name="setup">
<mkdir dir="${build.dir}" />
</target>
<target name="Build.Release" depends="setup">
<solution solutionfile="${File.Sln}" configuration="Release" />
<call target="rel-copy-to-output" />
</target>
<target name="rel-copy-to-output">
<copy todir="${build.dir}">
<fileset basedir=".">
<includes name=".\**\bin\Release\*.dll" />
<includes name=".\**\bin\Release\*.exe" />
</fileset>
</copy>
</target>
</project>
This generates an error based on trying to reference a dll at:
.\Project\SubProject\bin\filename.dll
The master.sln actually references this filename.dll at:
.\Project\SubProject\bin\Release\filenam.dll
I attempted to run slingshot against the same master.sln and it did the exact same thing with all of the internal references. Any help? Thanks again - Eric
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
