[Gtk-sharp-list] mono and .net runtime discrepancy

Ben Maurer bmaurer@ximian.com
Mon, 14 Feb 2005 08:54:13 -0500 (EST)

> Hello all. I have been able to compile my gtk-sharp app on both mono and
> .net on win32. However, I can only execute it with mono. When I execute
> it on .net, either  debugging within visual studio or from the shell, i
> get an exception (The type initializer for "Gui.EasyTreeview" threw an
> exception.) from the constructor of a subclassed treeview. My subclass
> is as follows:

What was the inner exception?

BTW, this method of subclassing is obsolete. Gtk# can handle subclassing
on its own nicely. You don't need any GType related crap.

-- Ben