[Mono-list] linux, binfmts:Unexpected behavior

mabra at manfbraun.de mabra at manfbraun.de
Wed Jan 2 18:02:14 UTC 2013


Hi All !

I moved over a lot of utilities from windows to linux, but starting them
using "mono ..." is a pain and luckily, I discovered "binfmts".

The execubales are started, but their expected path is just wrong.


So, a manually given complete path, works just fine:

myuser> mono /usr/share/WakeTheBox/WakeTheBox.exe hel
AppDomain.CurrentDomain.BaseDirectory: /usr/share/WakeTheBox/


Running via "binfmts" looks strange:

myuser> WakeTheBox.exe hel
AppDomain.CurrentDomain.BaseDirectory: /usr/sbin/


Any idea to change this, would be really great. It is completely
impracticable to give
each executable a separate startfile. It looks to me, as if "binfmts" just
run the
executables with a wrong configured path.

I am with mono 2.10.8.1 on Ubuntu 12.04.

Best regards,

++mabra





More information about the Mono-list mailing list