[Gtk-sharp-list] mono and .net runtime discrepancy
alramire@ecs.syr.edu
alramire@ecs.syr.edu
Mon, 14 Feb 2005 09:54:03 -0500 (EST)
Quoting Ben Maurer <bmaurer@ximian.com>:
> > 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
Ben,
Thanks for your response. Can't really reproduce the exception right now, as I
am at work. If I remember correctly it was something along the lines of binary
incompatibility. Also, is the subclass example on gtk-sharp how should be done?
thanks
alvaro
>
>