I just started using nant in conjunction with cruisecontrol.net. The
<solutiontag has been great in helping us compile VS.NET 2003 projects
without need to write a nant build file.
My project compiles stuff into a directory like:
C:\DEV_Machine\Build_Directory <-Empty
C:\DEV_Machine\Build_Directory\Project_1 <-Project 1 Bin
files
C:\DEV_Machine\Build_Directory\Project_2 <-Project 2 Bin
files
C:\DEV_Machine\Build_Directory\Project_3 <-Project 3 Bin
files
C:\DEV_Machine\Build_Directory\Project_4 <-Project 4 Bin
files
Etc.
However, on my build server I like to output the files to:
C:\SomeOtherDir\
C:\ SomeOtherDir \Project_1
C:\ SomeOtherDir \Project_2
C:\ SomeOtherDir \Project_3
C:\ SomeOtherDir\Project_4
Etc.
I tried using the outputdir attribute in the <solutiontag, but when I
use it, all my files are dumped into the root directory specified (c:
\someotherdir). Nant doesn't seem to create the sub directories.
Here is my simple build file:
<?xml version="1.0" encoding="utf-8" ?>
<project name="MediaCenter SDK">
<property name="nant.settings.currentframework" value="net-1.1" />
<solution
configuration="debug"
solutionfile="Consoles.sln"
outputdir="..\..\Build Release\MyProjectOutputs ">
><assemblyfolders>
<include name="..\..\Build Release\References" />
</assemblyfolders>
</solution>
</project>
Is there any way of getting this to work with v0.85?
Any help is appreciated.
Thanks!