MonoDevelop - Compile to Native Code

This is something I tend to forget: the exact setting and the place to tell MonoDevelop to compile a C# project down to native code (and include all relevant framework libraries).

MonoDevelopSettingsDialogue

This is a document window belonging to MonoDevelop. Hence the Mac OS X feature that takes a screenshot of a single window does not work. At least I think that is the reason.

The command partly shown is:

export AS="as -arch i386" && export CC="cc -arch i386" && mkbundle -o ${ProjectName} --deps -z ${TargetFile}

After the build is done it takes the generated exe file and compiles it into a native binary for i386.

I keep forgetting how to do this and do not want to check an existing project every time I need to know.

 © Andrew Brehm 2016