#308 <Solution> Circular Reference Error

Tasks (408)
Jeff Voigt

In regards to the <Solution> Task:

When the solution file has two projects that reference
each other, a StackOverflowException is thrown. This
results in a JIT Debugging error (0x800405a6) to appear
in the automated build process, and the log file will only
contain the message "fatal stack overflow".

With the -debug+ flag on when running the build file,
you will see "Loading referenced project..." messages
alternating between the two circular referenced
projects. This will continue until a stack overflow
occurs. (See attached file)

It is valid for two projects to reference each other. The
Visual Studio IDE handles this gracefully, it would be
nice if nant could too.


  • Jeff Voigt

    Jeff Voigt - 2005-02-21

    Circular Reference Log Output

  • Gert Driesen

    Gert Driesen - 2005-03-08
    • assigned_to: nobody --> drieseng
    • status: open --> closed-fixed
  • Gert Driesen

    Gert Driesen - 2005-03-08

    Logged In: YES

    This is now fixed in CVS. We now fail gracefully in case of
    circular project references.

    Thanks for the report !


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks