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

andy at brdstudio.net andy at brdstudio.net
Thu Mar 21 13:39:00 UTC 2013


I stand corrected, sorry for the confusion.

----------------------------------------
 From: "Doug Blank" <doug.blank at gmail.com>
Sent: Thursday, March 21, 2013 9:06 AM
To: "Andrew York" <andy at brdstudio.net>
Subject: Re: [Gtk-sharp-list] Need help with GTK# - Newbie here.

On Thu, Mar 21, 2013 at 8:20 AM, andy at brdstudio.net <andy at brdstudio.net> 
wrote:
> 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

I'd say you are wrong :)

We have a fairly complicated application (programming IDE with
multiple languages [1]) and a single .exe with single .dlls runs on
all platforms. We have a couple of places that do something different
based on the platform, but that is only for interacting with external
programs.

-Doug

[1] - http://calicoproject.org/

> 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
>
> _______________________________________________
> 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/cecf8db8/attachment.html>


More information about the Gtk-sharp-list mailing list