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

andy at brdstudio.net andy at brdstudio.net
Thu Mar 21 12:20:49 UTC 2013


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" <prahladyeri at yahoo.com>
Sent: Thursday, March 21, 2013 8:16 AM
To: gtk-sharp-list at lists.ximian.com
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  -  Gtk-sharp-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20130321/742c50b1/attachment.html>


More information about the Gtk-sharp-list mailing list