[Mono-winforms-list] How to execute my win app built in mono( Windows ) on Mono (Mac OSX)

Nils Andresen nils at nils-andresen.de
Wed Jan 26 04:04:17 EST 2011


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20110126/cf922f24/attachment-0001.bin 


More information about the Mono-winforms-list mailing list