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

danieru samuraidanieru at gmail.com
Mon Apr 20 16:56:46 EDT 2009


I've run a couple of tests to narrow this problem down. I am able to run Mono
compiled apps on .Net when they aren't trying to load Gtk, so that answers
my first question. Having the error mention 'Mono.Posix' threw me off from
thinking it was Gtk at first, but the call stack says 'at
RoleDialog.Build()', which is the first Gtk call in my app, so this seems to
indicate that it is a problem with Gtk. For some reason it's not finding Gtk
on my Vista system, even though I've installed Gtk! So is there something I
should be doing with my project in MD so that when I run it on .Net it can
correctly find the Gtk assemblies? Don't quite know how to solve this, so
any help would be appreciated.

Thanks.

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?
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/problems-running-gtk--app-on-windows-tp23144339p23144717.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list