[MonoDevelop] Can't edit the References in the UI.

Todd Berman tberman@sevenl.net
Wed, 02 Jun 2004 17:55:33 -0400


Ahh, this might be part of the project references changeover.

For 0.4 we use AssemblyName.FullName to encode all the information about 
a referenced assembly. What I recommend, is opening the .prjx with a 
text editor and manually removing the reference nodes from the XML, 
saving it, and loading it up in MD and adding them back. This is the 
best way to accomplish the transition in certain cases.

This was a necessary step to properly handle references in a 
crossplatform way, and the only way we were going to be able to handle 
multiple versions of the same assembly names.

If this doesnt solve your issues, let me know and we can work it out.

--Todd

Dennis Boylan wrote:
> Everytime I try and edit the DLL references, I get a crash.
> 
> Also, when generating the project makefile it would be nice to add
> the dll references to the MCS_OPTIONS.
> 
> - Dennis
> 
> 
> 
> ------------------------------------------------------------------------
> 
> node `debugger' is not defined on the documentation map
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/mscorlib_1.0.5000.0_b77a5c561934e089.pidb
> Creating DefaultWorkbench
> Generating makefiles for IAAdmin
> Reading /home/dennis/Dev/IAAdmin/IAAdmin.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System_1.0.5000.0_b77a5c561934e089.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System.Xml_1.0.5000.0_b77a5c561934e089.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System.Drawing_1.0.5000.0_b03f5f7f11d50a3a.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System.Data_1.0.5000.0_b77a5c561934e089.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/Mono.Data.Tds_1.0.5000.0_0738eb9f132ed756.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/Mono.Security_1.0.5000.0_0738eb9f132ed756.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System.EnterpriseServices_1.0.5000.0_b03f5f7f11d50a3a.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System.Web_1.0.5000.0_b03f5f7f11d50a3a.pidb
> Reading /home/dennis/.config/MonoDevelop/CodeCompletionData/System.Web.Services_1.0.5000.0_b03f5f7f11d50a3a.pidb
> Could not find: System.dll
> Could not find: System.Drawing.dll
> Could not find: System.Data.dll
> Could not find: System.Web.dll
> Could not find: System.Xml.dll
> 
> Unhandled Exception: System.ArgumentNullException: You must specify a path when calling System.IO.Path.GetFullPath
> Parameter name: path
> in [0x00015] (at /cvs/mcs/class/corlib/System.IO/Path.cs:176) System.IO.Path:GetFullPath (string)
> in [0x0003b] (at /home/dennis/mono/md/monodevelop-0.4/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs:114) MonoDevelop.Gui.Dialogs.SelectReferenceDialog:AddNonGacReference (MonoDevelop.Internal.Project.ProjectReference)
> in [0x0017b] (at /home/dennis/mono/md/monodevelop-0.4/src/Main/Base/Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs:87) MonoDevelop.Gui.Dialogs.SelectReferenceDialog:.ctor (MonoDevelop.Internal.Project.IProject)
> in [0x00030] (at /home/dennis/mono/md/monodevelop-0.4/src/Main/Base/Commands/ProjectBrowserCommands/ReferenceFolderNodeCommands.cs:42) MonoDevelop.Commands.ProjectBrowser.AddReferenceToProject:Run ()
> in [0x00011] (at /home/dennis/mono/md/monodevelop-0.4/src/Main/Base/Gui/Components/SdMenuCommand.cs:127) MonoDevelop.Gui.Components.SdMenuCommand:OnClick (object,System.EventArgs)
> in <0x0006a> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
> in <0x00120> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
> in <0x00055> (wrapper native-to-managed) GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
> in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
> in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
> in <0x00007> Gtk.Application:Run ()
> in [0x001fd] (at /home/dennis/mono/md/monodevelop-0.4/src/Main/Base/Commands/AutostartCommands.cs:206) MonoDevelop.Commands.StartWorkbenchCommand:Run ()
> in [0x002ba] (at /home/dennis/mono/md/monodevelop-0.4/src/Main/StartUp/MonoDevelopMain.cs:142) MonoDevelop.SharpDevelopMain:Main (string[])
>