You can make your mono .exe files executable by following these steps:
- Enabling binfmt in your kernel.
- Adding the line below to your fstab:
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc none
- On boot run the command below:
echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register
- chmod +x foobar.exe
mono .exe file it in a shell script, like this:
#!/bin/sh /usr/bin/mono "$@"
If you installed mono to a different location, substitute that for /usr/bin/mono. You can check with the "which mono" command.
