On Sun, Mar 17, 2013 at 5:45 AM, prahladyeri <[email protected]> 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 _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
