[Mono-dev] Application Deployment
Kornél Pál
kornelpal at gmail.com
Fri Aug 11 14:57:38 EDT 2006
Hi,
I have never used MonoDevelop so I have no idea.:)
But according to the following message it is called Compile Target in
Options:
http://lists.ximian.com/pipermail/mono-list/2006-April/031446.html
Kornél
----- Original Message -----
From: "Carlos J. Muentes" <carlos at rockwithme.org>
To: "Kornel Pal" <kornelpal at gmail.com>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Friday, August 11, 2006 8:45 PM
Subject: RE: [Mono-dev] Application Deployment
> Thanks for the great input Kornel, but I built this app using
> Monodevelop, and am not sure how to pass /target to MD during
> compilation. Should I recompile the app in Windows?
>
>
>> -------- Original Message --------
>> Subject: Re: [Mono-dev] Application Deployment
>> From: Kornél Pál <kornelpal at gmail.com>
>> Date: Fri, August 11, 2006 2:32 pm
>> To: "Carlos J. Muentes" <carlos at rockwithme.org>
>> Cc: <mono-devel-list at lists.ximian.com>
>>
>> > I'm going with a .bat file for now to launch the app, but I get an ugly
>> > DOS window in the background.
>>
>> This is the expected behavior for .bat files as they use cmd.exe.
>>
>> >Even if I double-click the .exe file and let the .NET Framework load
>> >the assembly I get an ungly DOS window.
>>
>> This is because you compile your application as a console application.
>> Use
>> /target:winexe
>>
>> > This isn't to kosher IMHO, as most Windows applications do not exhibit
>> > this behavior. Perhaps a .NETFX launcher is the only way to go . . .
>>
>> I think the easiest thing is to create a shortcut (i.e. .lnk file) that
>> executes mono.exe with your .exe file passed as a parameter. This way you
>> can use the icon of your .exe file as the icon of the shortcut as well.
>>
>> Note that however if you distribute your onw copy of mono.exe you can
>> compile it as a GUI application (by default it's marked as CUI and closes
>> the console for GUI applications) and use any icon you want. You can even
>> wire your mail assembly name to it so mono.exe (or whatever name you use)
>> will allways load your .exe file.
>>
>> Kornél
>
More information about the Mono-devel-list
mailing list