When running a C# application under mono with the "mono " command, the following works:
var fileName = System.Reflection.Assembly.GetExecutingAssembly().Location;
But after packaging the assemblies into a single file using mono's mkbundle2, the line above does not return the expected result.