Hi; I think these questions are related.
1) I created a task to compile a project. I then call it with the project name as a property. This lets me build everything fine with directory and dll naming. But I have a couple of problems: 1a) I still have to have a separate task for the .exe project as it has a different target and extension. 1b) How do I set references? Some of the projects have others as references so I can't hard code it. And a <foreach> does not appear to work inside a <references>. The best I have come up with is inside <references> I do an <includes> of everything and then an <excludes> of the file being built. 1c) Should I be copying references used to the project/bin/Debug (or Release) directory? And if so, how do I know what references are used? 2) Once I have this built, I go to run the nunit2 tests. Works fine for dlls that don't reference other projects. But for ones that do, they can't find the dlls. 2a) Is there a way to provide the location of references for a nunit2 test? 2b) Or is the answer the same as itme (1c) above - I need to copy dlls that are referenced over to the appropiate bin/Debug directory. And in that case - how do I do that? thanks - dave ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users