Re: An error occurred while loading the archive. ??

Alex Shulgin <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
daggoth wrote:
> I wonder why most used distro, while installing mono framework doesn't 
> do that.

Why?  Because not all exe's are .net assemblies, I guess. :)

--
Regards,
Alex

> Stefanos A. ha scritto:
>> 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
>> quotes).
>>
>> '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.

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.