[Mono-list] how can i start with clicking?
A Rafael D Teixeira
rafael.teixeirabr@terra.com.br
Mon, 06 Dec 2004 13:41:16 -0200
Hi,
On Mon, 2004-12-06 at 09:57, caner Sahan wrote:
> Hi;
>
> When we write a program with mono,we are using console to start for
> .exe .But i don't want to start my .exe file from console.How can i
> solve this problem?Is it possible? "click and start"?windows or linux
> not matter?
In Linux:
The best approach to deal with it in Linux is to create shell script
wrappers like those that exist for mcs/mbas/etc. in mono. These are
clickable to run.
Another way is to use binfmt kernel support to map .exe files to be
executed with mono (will render wine useless, unless someone has coded a
smarter selector that see if it is a managed exe or not and calls wine
or mono as needed).
In Windows:
With .NET runtime, they are fully clickable, but should be compiled as
winexe not to open a console window.
If you have only mono installed in windows, you need to do .bat
wrappers, as we don't implement a native mscoree.dll or something
similar to start mono automatically for managed exes.
>
> Regards
>
> Caner ÞAHAN
>
> www.csharpnedir.com (One of the best .NET webside in Turkey about
> Mono)
Hope it helps,
--
Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/