I'm not sure the intention is to build once run anywhere like Java is. Someone will correct me if I'm wrong but I think the idea is you don't have to heavily modify your source code to build it in other environments. Also there is a way to build with the Mono compiler that includes all the dependencies, that's how you can use Mono to build for IPhone/IPad. Do you know what that flag is? Have you build it on you Ubuntu machine? Did you get the same results?
I don't try to use the same binary just the same code to build from. ---------------------------------------- From: "prahladyeri" <[email protected]> Sent: Thursday, March 21, 2013 8:16 AM To: [email protected] Subject: [Gtk-sharp-list] Need help with GTK# - Newbie here. 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'. My mono runtime version is 2.10. Could you suggest what could have gone wrong ? -- View this message in context: http://mono.1490590.n4.nabble.com/Need-help-with-GTK-Newbie-here-tp4659049.h tml Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
