[Gtk-sharp-list] Gtk# on the .NET Framework
stifu at free.fr
Tue Nov 3 16:45:30 EST 2009
It should work. There is an 8 MB install for Windows, which is available
> Hello Mono community.
> Just wanted to get into Gtk#, since it looks so much better than SWF and
> feels much more mature and standard-compliant.
> However I could not get it to run on the .NET Framework. I use Visual
> Studio 2008 to compile my binaries and use Gtk# from C#. The .NET Compiler
> compiles flawlessly and I can run the resulting executable using the Mono
> runtime (tested on version 188.8.131.52). However, the compiled .NET assembly
> does not execute on the .NET CLR. Even the following simple code is not
> running on .NET. When run in "debug" mode, it throws a
> "System.TypeInitializationException" when the Init() method of Gtk is
> called. When run in "release" mode, the .NET CLR crashes hard with a
> protection fault.
> class Test
> static void Main(string args)
> What am I doing wrong? Is Gtk# even supposed to work on .NET or is it
> Mono-specific? The .NET binding as well as Gtk+ itself are installed on
> the system and working with the Mono runtime. Operating system is Vista
View this message in context: http://old.nabble.com/Gtk--on-the-.NET-Framework-tp26163595p26163600.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list