[MonoDevelop] What is happening with MD 2 alpha 2 here?

Lluis Sanchez Gual lluis at novell.com
Tue Dec 30 06:31:28 EST 2008

El dg 28 de 12 de 2008 a les 16:39 +0000, en/na alan battersby va
> I am using MD 2 alpha 2 downloaded and compiled on opensuse 11.  What
> does this warning mean?
> [Task:File=/home/alan/C# development/OTPaths Lattice
> v1.0/OTPaths/gtk-gui/gui.stetic, Line=0, Column=0, Type=Warning,
> Priority=Normal, Description=/home/alan/C# development/OTPaths Lattice
> v1.0/OTPaths/gtk-gui/gui.stetic: Could not generate code for widgets of
> type: OTPaths.JointUI. The widget could not be found in any referenced
> library. The generated code may be invalid.]
> I can load the widget in the editor window and see its design and source
> code. It loads when I either select the source JointUI.cs  in solution
> explorer or from the User Interface folder . So why am I getting this
> message.  There are three other Widgets affected in the same way. All
> were compiling fine a couple of minutes ago, and I was working on none
> of them, MD crashed and when restarted I get the above plus another
> error shown below

This message means that MD could not load the JointUI widget from the
library that implements it. It doesn't matter that you can open the
designer of the widget. This is a run-time error, not a design-time

The most probable cause of this is that the widget is not being properly
exported. There was a bug that was causing widgets to be removed from
the objects.xml file (exported widgets are registered there). In any
case, that file is not needed anymore. Try removing the objects.xml file
and applying the attribute [System.ComponentModel.ToolboxItem(true)] to
all widgets you want to export.

> [Task:File=/home/alan/C# development/OTPaths Lattice
> v1.0/OTPaths/Dialogs/CellDialog.cs, Line=62, Column=25, Type=Error,
> Priority=Normal, Description=Cannot implicitly convert type
> `Cairo.Context' to `Cairo.Context'(CS0029)]
>  from this line
> using (Cairo.Context ct = Gdk.CairoHelper.Create (drawingarea.GdkWindow))

This error seems unrelated to the previous one. Looks like you are
referencing (maybe indirectly, through gtk#) two different versions of


More information about the Monodevelop-list mailing list