[Gtk-sharp-list] Deploying GTK# applications on Windows

justin constantino goflyapig at gmail.com
Sun May 13 20:46:48 EDT 2007


Hi all,

I'm trying to get a simple "hello world" GTK# 2.0 application to run
on a Windows machine, with the only requirement that the Microsoft
.NET Framework is installed.  I really don't want to require users to
run the GTK# Runtime Installer
[http://forge.novell.com/modules/xfmod/project/?gtks-inst4win].

I can't find much information on what the minimum requirements are to
get GTK# applications running on Windows (using the Microsoft CLR).  I
tried simply copying all of the GTK# assemblies to the deploy machine,
but I then get an unhandled "System.TypeInitializationException" from
Gtk.Container.  When I try a simple Glade# application, I get a
DllNotFoundException for libglade-2.0-0.dll (despite it being in my
application root).

I also can't find the source for the Runtime installer, so I can't
look at it to see what it's doing and just incorporate that into my
own installer.

Any help at all would be greatly appreciated.

--Justin Constantino


More information about the Gtk-sharp-list mailing list