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

Chris Morgan cmorgan at alum.wpi.edu
Sun Sep 10 22:27:21 EDT 2006

This is a preliminary patch to allow out-of-project files to be added to a 
project.  This is useful when trying to move common classes to a directory 
outside of a given project.

The patch removes the code that was preventing users from adding files from 
outside of their project directory.  I also added an option to the 'add' 
dialog to "Link" a file, beside the existing options to "Copy" and "Move'.

MD can now successfully add the files to the project, they show up in the 
treeview and the solution compiles properly.

What I can't figure out is why this change seems to be causing mono to 
segfault when one of the linked files is removed but not when removing a 
non-linked file.  I'm using mono from svn and mcs from svn, updated tonight.  
I tried running mono under gdb but the stack trace wasn't very clear, the 
segfault occurred in the garbage collector so maybe memory that was in use by 
gtk-sharp was freed?

I don't understand monodevelop code well enough to know where to look for the 
issue but I was hoping someone would be able to lend a hand so we can get 
this useful feature implemented.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: linked_files.patch
Type: text/x-diff
Size: 2218 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060910/8250d894/attachment.bin 

More information about the Monodevelop-list mailing list