Burgess, Michael wrote:

Hi there. I’m putting together my first attempt at a CI system and NAnt build script to replace the VBscript at present. I’ve got one question regarding compilation………….

Our mail solution is compiled at present using the ‘devenv’ exec at the command line.

If I try to use the <solution> task in NAnt it complains about our .csdproj projects in the solution not being supported.

Should I use the <exec> task and call devenv, or is there a more elegant way using built in tasks?

I don't do PDA and similar development, so I can't say for sure, but I'm surprised that NAnt can't handle this. Are you using a recent vesion of NAnt?

In any event, my initial reaction is to use the <csc> tasks for the compilation. It's conceivable that will be enough, but I just don't know what's typically done for this sort of work. There are a number of other NAnt tasks, as well as NAntContrib tasks that relate to other tools that get invoked by Visual Studio. You may want to do a manual build inside of the VS GUI and check the logs to see exactly what tools are invoked in what order. If everything that VS does has a corresponding NAnt or NAntContrib task, I'd go that way. But if there's something that can't be done directly by a task, then I'd fall back on using an <exec> of devenv. Of course, you might find that the former approach is too much work, and simply use the latter approach.

Gary



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to