Menu

#308 <Solution> Circular Reference Error

0.85
closed-fixed
Tasks (408)
5
2005-03-08
2005-02-21
Jeff Voigt
No

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.

Discussion

  • 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
    user_id=707851

    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.