I found it. Reason is, that ProjectBase.Compile call Prepare which throws exception. Prepare is trying to collect information what resulting files there should be after compiling but it fails, since some references are missing.
I tried very simple "patch": try { Prepare(solutionConfiguration); } catch(BuildException e) { Log(Level.Error,e.Message); return false; } and results from repro test-case is as expected: [solution] Starting solution build. [solution] Building 'a' [Release] ... [solution] Couldn't find referenced assembly 'E:\src\extern\nant\bin\c.dll'. [solution] Project 'a' failed! [solution] Continuing build with non-dependent projects. [solution] Building 'b' [Release] ... [solution] [solution] Solution failed to build! Failed projects were: [solution] - a Thats reason. But how to avoid it? I'm not sure, catching all BuildExceptions from Prepare is good idea... Maybe we could collect that information after compiling and thus left error-check to compiler. Or enhance Prepare to return bool as well as Compile and Build and check returned value. Catching all exceptions is also possible way to go - not so bad after all. What do you think? BTW: is there plan to use <csc> task internally instead of calling compiler directly? Martin Aliger > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Martin Aliger > Sent: Monday, June 13, 2005 3:52 PM > To: 'Gert Driesen'; nant-developers@lists.sourceforge.net > Subject: RE: [nant-dev] <solution> continuing build with > non-dependent projects > > Hello, > > yes - it happens also on newest nightly. > > I created bug report for it. Here: > https://sourceforge.net/tracker/index.php?func=detail&aid=1219 > 705&group_id=3 > 1650&atid=402868 > > Small repro is attached. > > > I'd dig deeper into sources and try to find why it do that. > Also testcase would be nice to prevent future regressions. > > > Martin Aliger > > > > in past releases there was very nice feature in <solution> > > task named > > > "Continuing build with non-dependent projects.". When any > project in > > > solution failed for any reason (compile error, missing > > reference, ...), > > > projects which do not depend on this failed one was still built. > > > > > > Somehow in recent releases (rc3) I miss this feature. Is > > this intentional > > or > > > some regression? > > > > This is definitely not intentional. Can you reproduce this using a > > recent nightly build ? > > > > > If it is bug, I'd volunteer to track it down. > > > > That would be great ! Can you also submit a bug report > (containing a > > repro) ? > > > > Gert > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far > can you shotput a projector? How fast can you ride your desk > chair down the office luge track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: > http://www.necitguy.com/?r=20 > _______________________________________________ > nant-developers mailing list > nant-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-developers > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers