[Gtk-sharp-list] gtk-sharp.dll not working on linux because it references win32 dll's

Dan Winship danw at novell.com
Mon Jul 18 13:33:06 EDT 2005


On Mon, 2005-07-18 at 19:22 +0200, Jost Boekemeier wrote:
> Hi,
> 
> after switching from 0.6 to the latest code, my gtk
> examples don't work anymore.

How exactly do they fail?

Er, and 0.6 of what? MonoDevelop? And are you using packages (whose?) or
did you build it yourself?

> The linux dll's contain a reference to native win32
> dll's which are probably re-written at run-time into
> the linux equivalent.
> 
> How can this work?  Have you changed
> System.Reflection.Assembly to rewrite the dll's when
> they are loaded?

I'm not sure exactly where the rewriting occurs, but it's controlled by
the foo.dll.config files. So in addition to gtk-sharp.dll, you should
also have a gtk-sharp.dll.config (in the same directory in your GAC)
giving the mapping from Windows DLL names to Linux .so names.

-- Dan




More information about the Gtk-sharp-list mailing list