Share

NAnt - A .NET Build Tool

Tracker: Bugs

5 <Solution> Circular Reference Error - ID: 1145670
Last Update: Comment added ( drieseng )

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 ( jeffvoigt ) - 2005-02-21 18:49

5

Closed

Fixed

Gert Driesen

Tasks

0.85

Public


Comment ( 1 )

Date: 2005-03-08 17:59
Sender: driesengProject AdminAccepting Donations

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 !


Attached File ( 1 )

Filename Description Download
log.txt Circular Reference Log Output Download

Changes ( 7 )

Field Old Value Date By
close_date - 2005-03-08 17:59 drieseng
resolution_id None 2005-03-08 17:59 drieseng
assigned_to nobody 2005-03-08 17:59 drieseng
status_id Open 2005-03-08 17:59 drieseng
File Added 122197: log.txt 2005-02-21 19:04 jeffvoigt
File Deleted 122196: 2005-02-21 19:04 jeffvoigt
File Added 122196: log.txt 2005-02-21 19:03 jeffvoigt