[Gtk-sharp-list] GTK# on .NET -> requires Mono.Posix

Doug Blank doug.blank at gmail.com
Mon Oct 8 14:13:46 UTC 2012


On Mon, Oct 8, 2012 at 6:00 AM, Akos Vandra <axos88 at gmail.com> wrote:
> Hello!
>
> I am trying to develop a CLI application on linux with monodevelop and
> mono, that would run on windows with .net (without mono).

We are doing the same, and indeed found some weird dependency issues
related to Mono.Posix.

One workaround we have found is, before deployment, to recompile on
Windows. The resulting .exe works fine on all platforms, runs with
.NET too, and doesn't have the issue with the Mono.Posix.

Hope that helps,

-Doug

> As far as I understand, this should be feasible, but a simple test
> application built with monodevelop on linux references mono.posix,
> that is not available on windows .net, with the gtk# runtime, and thus
> it does not run.
> If I distribute the necessary dll along with the exe by copying the
> dll from the linux mono installation, it works, but I'm sure there is
> a less "hacky" way to get it to run on .net. Can anyone help me out?
>
> Regards,
>   Ákos Vandra
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list


More information about the Gtk-sharp-list mailing list