[MonoDevelop] [PATCH] - enable out-of-project files inside of a project

Chris Morgan cmorgan at alum.wpi.edu
Tue Sep 12 21:12:34 EDT 2006

On Tuesday 12 September 2006 1:27 pm, Lluis Sanchez wrote:
> > I looked through ProjectNodeBuilder.cs and I can't figure out where the
> > recusion might be occurring.  I added console prints to
> > ProjectNodeBuilder::FindParentFolderNode() but I don't see any prints
> > during the below crash that I've dumped.
> The recursion was in ShowAllFilesBuilderExtension.cs, and I just fixed
> it.
> However, I'm wondering what's the real use case for file links. Isn't a
> shared class library a solution for what you are trying to do?
> Lluis.

After your patch there isn't a crash when removing out-of-project files 
however I'm unable to add files back in because 
ProjectNodeBuilder::FindParentFolderNode() fails.  How should we address the 
fundamental issue that FindParentFolderNode() simply won't be able to find 
the file inside of the tree?  

How should we handle the condition where FindParentFolderNode() returns null 
in ProjectNodeBuilder::AddFile()?  It seems like we need a ITreeBuilder but 
I'm not sure if just creating one using the project base directory is good 
enough since that doesn't address linking a file into a nested project 


More information about the Monodevelop-list mailing list