Creating an executable for Mac

I have a Cross Platform Desktop Project and am developing in VS on Windows 10. I can run the generated executable in the bin directory on my Windows machine without issue. What do I need to do in order to run this same executable on my Mac?

You can run it from a terminal with mono. E.g. mono MyGameExecutable.exe. There’s ways to make it directly executable for Mac as well, but I’m not the best person to ask about that.

Ok, thanks. I’m a bit curious how things get bundled for a Mac Steam build now. I’m assuming the user has to go install Mono? Is it automated or do they just have to figure it out?

You can bundle mono with the game so users don’t need to install it.

Ah, perfect. Is there any documentation for achieving that?

Some discussion here starting a couple weeks ago:

This recent documentation might be helpful for anyone who comes across this thread later

https://docs.monogame.net/articles/packaging_games.html

1 Like