[Gtk-sharp-list] Windows Problem

Jonathan Pryor jonpryor@vt.edu
Fri, 12 Sep 2003 19:25:54 -0400

I'm not entirely sure I'm understanding you, but I think you're asking
about why the Gtk# .dlls need to be in the same directory as the
application, and not in, say, %WINDIR%\system.

The answer is that mono doesn't currently support strong naming
assemblies, which is the only way to get an assembly into the Global
Assembly Cache (GAC).

We could special-case the Windows build so that the Gtk# dlls are
strong-named, but that wasn't done (I forget the exact reasons, but I
think timing and not wanting to special case the build steps were some
of the reasons).

Thus, for now, the Gtk# dlls MUST be in the directory of each
application that's running.

 - Jon

On Fri, 2003-09-12 at 14:51, Roberto Santacroce Martins wrote:
> I dont know if i so stupid but after i chocked my head with wall i copy 
> gtk*.dll files to my project directory and try run my gtk# app and well 
> applicatio going fine....
> How i can specify one path to application find the lib in windows directiry
> I use gtk# 0.10 and windows xp
> Hugs...
> bobbym
> bobbym at uol dot com dot br
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list