[Mono-list] C# app with makefile n executable

Danny dgortonii at gmail.com
Sat May 14 13:55:36 EDT 2011

I'm not sure about the makefile, since I never build C# code with make - 
it probably calls in to msc or similar though.

But the 'executable' file is just a bash script that will run the 
compiled EXE using mono on Linux.  It doesn't need an extension, and you 
might name it like your program, without the extension.  Just make sure 
the executable bit is set on that script.

On 05/14/2011 12:34 PM, Mujahid Azam wrote:
> Hi,
> I have been asked to run my C# app on Mono 2.4. They hav requested to
> attach the *makefile *and an *executable *file which contains the
> following code.
> #!/bin/bash
> mono MyProgram.exe "$@"
> What is the use of the makefile and the executable file?
> What should be the extensions of the Makefile and the executable file.
> plz share sample files if available. Its a little urgent
> --
> *Thanks & Regards
> Mujahid*
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list