[Gtk-sharp-list] Need help with GTK# - Newbie here.

Bertrand Lorentz bertrand.lorentz at gmail.com
Thu Mar 21 18:09:31 UTC 2013


On Sun, Mar 17, 2013 at 5:45 AM, prahladyeri <prahladyeri at yahoo.com> wrote:
> In my quest for platform-independence, I built a simple hello-world app on my
> windows machine using monodevelop 4.0 and gtk# 2.12. When I try to run it on
> my Ubuntu 12.04 LTS, I get the below runtime error:
>
> Unhandled Exception: System.TypeLoadException: Could not load type
> 'MainWindow' from assembly 'hellogtk, Version=1.0.4824.3971,
> Culture=neutral, PublicKeyToken=null'. [ERROR] FATAL UNHANDLED EXCEPTION:
> System.TypeLoadException: Could not load type 'MainWindow' from assembly
> 'hellogtk, Version=1.0.4824.3971, Culture=neutral, PublicKeyToken=null'.

Is the MainWindow class part of your code ?
I'm pretty sure it's not part of GTK#, so maybe you're using some
other library without realizing it.

The various guides and tutorial on the following page might also be
helpful for you:
http://www.mono-project.com/GtkSharpTutorials

--
Bertrand


More information about the Gtk-sharp-list mailing list