Re: How to execute my win app built in mono( Windows ) on Mono (Mac OSX)

Nils Andresen <[email protected]> Wed, 26 Jan 2011 10:04:17 +0100
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
Am 26.01.2011 08:48, schrieb Sudarshan Hegde:
> Though it is a manage app, exe extension belongs to windows hence to run these exes we need to have some software(other than windows OS) that would execute these exes.

Hmm.
I don't quite get this...
You have build an application using mono under windows, right? Is it
using some windows-specific code? If not if should run fine executing it
with mono under linux (I do this all the time...) without wine.

I am no expert, but i think actually the exe extension denotes many
different things - among them are the so called PE-files which are
Windows executables (managed or unmanaged). For the unmanaged ones a
windows is needed - or a compatible api (ReactOS, linux+wine, etc) for
managed code a clr is needed.
mono does provide a clr under linux. So - as long as there are no
P/Invokes in your app, it should run fine by simply calling "mono
yourapp.exe"

Nils

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0/45cACgkQj6Jtq4wKBuNNQwCcCaFXWNDG0ZU+Q9e14HEzASvf
YPgAnjcVMw1jEJOy9dC5UyOeaC1qF02R
=mb+I
-----END PGP SIGNATURE-----