A default use of <solution> will use the Visual Studio 'Debug' 'build
configuration',
which already outputs to 'bin\Debug' in each of the project directories.

I actually like to have a new build configuration though just for building
from NAnt, and this compiles each project to something like '<src
root>\build\projectName\'

I wrote about this on my blog recently - you might want to check it out -
http://mikeroberts.thoughtworks.net/blog/archive/Tech/dotNet/Howtosetupa.NETDevelopmentTreePart5.html

Mike

Hello Alexandre,

> Hi all,
>
> I just got set up with NAnt and I am a bit stuck trying to do a
> particular task. I have a VS.NET solution composed of 4 projects (2
> Web projects, 1 console app and 1 class library).
>
> I was trying to use the <solution> task to build the solution, it
> works just fine, but now I need to generate each project contained on
> the solution on a different output dir. Something like one output dir
> per project.
>
> Can I do this using the <solution> task or would I need to use the
> <csc> to compile the projects on a more detailed configuration?
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to