[MonoDevelop] Error running program

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Dec 24 12:21:11 EST 2008


On Wed, Dec 24, 2008 at 3:08 PM, lsuitger <judelandry2002 at gmail.com> wrote:
>
> I wrote a program in C# with mono-develop on Ubuntu. I have had this program
> running as a scheduled task for several months with no problems. This past
> Monday, the program quit working. When I try to run the program via CLI I
> get the following error:
> run-detectors: unable to find an interpreter for <program>
>
> Yet I can run the program from the IDE with no errors and the program
> functions as it should.
>
> I googled and got so many different answers I became confused. Anybody ever
> come across this before?

http://mono-project.com/Guide:Running_Mono_Applications

Note that Debian/Ubuntu usually uses binfmt_misc to register exe files
for execution by Mono, as described in
http://mono-project.com/Guide:Running_Mono_Applications#Registering_.exe_as_non-native_binaries_.28Linux_only.29
so it looks like this has somehow become disabled on your system.

The quick solution is just to invoke your program with "mono programname.exe".

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list