[Gtk-sharp-list] problems running gtk# app on windows

Christian Hoff christian_hoff at gmx.net
Tue Apr 21 04:03:44 EDT 2009


Slug wrote:
> danieru wrote:
>   
>> Greetings,
>> I've been developing a Gtk# app in MD 2.0 on Ubuntu Jaunty. Everything
>> seemed hunky-dory until I attempted to run the app on my Vista laptop. It
>> gives me an error message saying it can't find the 'Mono.Posix' assembly.
>>
>> Here's the software on the laptop:
>>
>> -Microsoft .Net 3.5 sp1
>> -gtk-sharp-2.12.8-1.win32.msi
>>
>> ...On my Ubuntu box, the target Gtk version for my project was 2.12.8.
>>
>> So this brings up a couple of questions:
>>
>> 1. Can apps compiled with the Mono C# compiler run on .Net?
>> 2. Can apps compiled on with the Microsoft .Net compiler run on Mono?
>>     
The answer to both questions is basically yes, unless you are using 
assemblies that Mono does not support(like parts of WCF).
>
> I'm having this issue too with my simple little test application.  **** Whew
> ***  Have I been spending a lot of time on these forms for something so
> simple as my little demo app.  Here my error :
>
>     Unhandled Exception: System.IO.FileNotFoundException: Could not load
> file or ass
>     embly 'Mono.Posix, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=0738eb9f132e
>     d756' or one of its dependencies. The system cannot find the file
> specified.
>     File name: 'Mono.Posix, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=0738eb9
>     f132ed756'
>   
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 :-) .
> I spent all day on that one, and after all that my biggest observations so
> far are these :
>
>
> 6)   Finally, is there really absolutely nothing on Novell's web site about
> Mono?  Not even the word Mono.  There's
>       nothing like "mono.novell.com"   not even a  "www.novell.com/mono" ?   
> Honestly? 
>   
www.mono-project.com



More information about the Gtk-sharp-list mailing list