[Mono-osx] A very basic question-- running Win .net exe on Mac OS X w/ Mono

veryconfused what at mailinator.com
Thu Feb 26 06:54:09 EST 2009

OK so that's what I was wondering-- if you could run .NET programs not
compiled with reference to mono somehow. This is what I get in Terminal:

s-computer:~ s$ mono /Users/s/Desktop/Traffic\ T.exe 
Cannot open assembly '/Users/s/Desktop/Traffic T.exe': File does not contain
a valid CIL image.

Stifu wrote:
> What? Yes, yes you can.
> You can use Mono libraries if you want to, but you don't have to.
> My own app uses nothing but MS .NET classes, nothing Mono-specific, has
> been compiled on Windows with the .NET compiler, and runs fine with Mono
> on Linux, with no modification.
> Joanna Carter wrote:
>> You can't take a .NET program that has already been compiled and run 
>> that under Mono. You need to recompile the program, referencing the Mono 
>> libraries instead.
>> Joanna
>> --
>> Joanna Carter
>> Carter Consulting
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx

View this message in context: http://www.nabble.com/A-very-basic-question---running-Win-.net-exe-on-Mac-OS-X-w--Mono-tp22217524p22222559.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list