I'm current invoking nant by creating a new Process and starting it. I would like finer-grained control, plus the ability to initiate a debug, by starting the build directly in my code in a new thread. Has anyone already done this? If so, would you mind sharing the code?
***Payton Byrd*
Trane eBusiness
QED Team
Phone: 931-905-5386
Fax: 931-648-5901
If you look in the source, at src\Nant.Core\ConsoleDriver.cs, the main driver for NAnt is the Project class. You should be able to invoke directly within your process by constructing and executing a Project from within your own code.
ConsoleDriver also shows how to add listeners to your build, and how to dynamically load custom tasks for use in the project.
Hope that helps,
-- Troy
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users