[Mono-winforms-list] An error occurred while loading the archive. ??

Stefanos A. stapostol at gmail.com
Wed Jul 15 08:11:43 EDT 2009

On Wed, 2009-07-15 at 03:35 -0700, kkmann wrote:
> I copy My .net application I builted on windowxp to Mono, and when I run I
> receive message "An error occurred while loading the archive." . Look like
> .exe was treat as zip file in my mono system.
> Can any one show me how to fix this..

You simply need to configure your system to launch exe files with mono.
If you are using Gnome, right click on the exe, select "Open with other
application", click "use custom command" and type "mono" (without the

'Mono' should now appear as an option in the "Open With" menu. To set it
as the default handler, right click on the exe, select properties and go
to the "Open With" tab. Just select mono instead of file-roller.

The alternative is to write a simple executable script that launches
your application on Linux (it simply needs to call 'mono Foo.exe'). As
long as the script is executable, the user will be able to double click
it to launch your app.

More information about the Mono-winforms-list mailing list