I just wrote some code that determines the build order for a set of vb6 projects. It also outputs an nant script with a build target that builds in the correct order, and a clean target that unregisters the dll's in reverse build order.
So the nant scripts have no build order built in, just passes a list of projects that need to be built, and then the appropriate nant script gets generated, then executed. If you still need a solution I'll send you the code. I'm planning on creating an nant task (right now the code is just a class library) that uses this code so you can just call it all from my build script. --- [EMAIL PROTECTED] wrote: > Can anyone think of an easy way round this? I want to > execute by build in > reverse dependency order. Why? Well because I have a > target in there > called register that regieters the components that are > build in COM+ so a > developer can do a "build all register" and be aboe to > run the system for > debugging. The problem is when they do a clean, becuase > this executes in > the same order as the compile, and therefore removes the > assemblies at the > bottom of the dependency tree first. Because the COM+ > registration and > deregistration relies on the installer class, this means > that installutil > has to load the assembly to unregister it, and this then > fails for some > assemblies as it cannot fond the assemblies it depends on > (because they've > already been cleaned) > > What I ideally want to do, is to run the clean target in > reverse order. I > know I can split the registering stuff out into a > separate script and have > different orders to register and de-register, but that's > quite a lot of > work, and if there's an easy way to run the script in > reverse, I'd prefer > that. > > Any help appreciated. > > Cheers, > > Bill > > > > > > IMPORTANT > The information contained in this e-mail and any > attachments is intended for the addressee only > and may contain legally privileged or confidential > information. If you are not the intended > recipient you must not use, disclose, copy, distribute, > alter, or take any action in reliance > on the information and Avon Insurance plc will not accept > liability for any loss or damage howsoever > arising, directly or indirectly in reliance on it and > gives no warranty or representation as to its > accuracy or reliability. If you are not the addressee, > please notify us immediately on 01789 202121* > and delete the material from your computer and destroy > any copies. > > Avon Insurance plc reserves the right to monitor and > record incoming and outgoing email messages for > the purposes of investigating or detecting unauthorised > use of its system and ensuring its effective operation. > Avon Insurance plc will not accept liability for any loss > or damage as a result of any virus being passed on. > > Avon Insurance plc (No. 209606). > Registered in England. Registered Office: Arden Street, > Stratford upon Avon, Warwickshire CV37 6WA. > Authorised and regulated by the Financial Services > Authority. > A member of the NFU Mutual group of companies and the > Association of British Insurers. > > *For security and training purposes, telephone calls may > be recorded and monitored. "Few are those who see with their own eyes and feel with their own hearts." -Albert Einstein __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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