[Gtk-sharp-list] GTK# on .NET -> requires Mono.Posix
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:
> 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,
> 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?
> Ákos Vandra
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
More information about the Gtk-sharp-list