mail-archives/gtk-sharp-list/2009-April/009579.html

117 строки
4.7 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:02:55 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] problems running gtk# app on windows
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20problems%20running%20gtk%23%20app%20on%20windows&In-Reply-To=23149890.post%40talk.nabble.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="009578.html">
<LINK REL="Next" HREF="009585.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] problems running gtk# app on windows</H1>
<B>Christian Hoff</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20problems%20running%20gtk%23%20app%20on%20windows&In-Reply-To=23149890.post%40talk.nabble.com"
TITLE="[Gtk-sharp-list] problems running gtk# app on windows">christian_hoff at gmx.net
</A><BR>
<I>Tue Apr 21 04:03:44 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="009578.html">[Gtk-sharp-list] problems running gtk# app on windows
</A></li>
<LI>Next message: <A HREF="009585.html">[Gtk-sharp-list] System.DllNotFoundException: gtksharpglue-2
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9579">[ date ]</a>
<a href="thread.html#9579">[ thread ]</a>
<a href="subject.html#9579">[ subject ]</a>
<a href="author.html#9579">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Slug wrote:
&gt;<i> danieru wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> Greetings,
</I>&gt;&gt;<i> I've been developing a Gtk# app in MD 2.0 on Ubuntu Jaunty. Everything
</I>&gt;&gt;<i> seemed hunky-dory until I attempted to run the app on my Vista laptop. It
</I>&gt;&gt;<i> gives me an error message saying it can't find the 'Mono.Posix' assembly.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Here's the software on the laptop:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> -Microsoft .Net 3.5 sp1
</I>&gt;&gt;<i> -gtk-sharp-2.12.8-1.win32.msi
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> ...On my Ubuntu box, the target Gtk version for my project was 2.12.8.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> So this brings up a couple of questions:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> 1. Can apps compiled with the Mono C# compiler run on .Net?
</I>&gt;&gt;<i> 2. Can apps compiled on with the Microsoft .Net compiler run on Mono?
</I>&gt;&gt;<i>
</I>The answer to both questions is basically yes, unless you are using
assemblies that Mono does not support(like parts of WCF).
&gt;<i>
</I>&gt;<i> I'm having this issue too with my simple little test application. **** Whew
</I>&gt;<i> *** Have I been spending a lot of time on these forms for something so
</I>&gt;<i> simple as my little demo app. Here my error :
</I>&gt;<i>
</I>&gt;<i> Unhandled Exception: System.IO.FileNotFoundException: Could not load
</I>&gt;<i> file or ass
</I>&gt;<i> embly 'Mono.Posix, Version=2.0.0.0, Culture=neutral,
</I>&gt;<i> PublicKeyToken=0738eb9f132e
</I>&gt;<i> d756' or one of its dependencies. The system cannot find the file
</I>&gt;<i> specified.
</I>&gt;<i> File name: 'Mono.Posix, Version=2.0.0.0, Culture=neutral,
</I>&gt;<i> PublicKeyToken=0738eb9
</I>&gt;<i> f132ed756'
</I>&gt;<i>
</I>Mono-Posix is not shipped with the Gtk# .net installer, but Monodevelop
probably links that assembly if you enable gettext support in your
application. Maybe we should ship it with the installer, you aren't the
first running into that problem :-) .
&gt;<i> I spent all day on that one, and after all that my biggest observations so
</I>&gt;<i> far are these :
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> 6) Finally, is there really absolutely nothing on Novell's web site about
</I>&gt;<i> Mono? Not even the word Mono. There's
</I>&gt;<i> nothing like &quot;mono.novell.com&quot; not even a &quot;www.novell.com/mono&quot; ?
</I>&gt;<i> Honestly?
</I>&gt;<i>
</I>www.mono-project.com
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="009578.html">[Gtk-sharp-list] problems running gtk# app on windows
</A></li>
<LI>Next message: <A HREF="009585.html">[Gtk-sharp-list] System.DllNotFoundException: gtksharpglue-2
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9579">[ date ]</a>
<a href="thread.html#9579">[ thread ]</a>
<a href="subject.html#9579">[ subject ]</a>
<a href="author.html#9579">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>