[Gtk-sharp-list] [Fwd: No console under win32]

Jonathan Pryor jonpryor@vt.edu
Mon, 19 Jan 2004 18:47:19 -0500


The reason that the console isn't displayed with the winforms app is
because the program is set to run within the Windows subsystem, which
doesn't support console output.

You can specify this in new programs by using the "-t:winexe" parameter
with mcs and csc:

	csc.exe -out:my-win-prog.exe -t:winexe my-win-prog.cs

 - Jon

On Mon, 2004-01-19 at 12:14, Alvaro A. Ramirez wrote:
> From: Alvaro A. Ramirez <alramire@ecs.syr.edu>
> To: Gtk-sharp-list@lists.ximian.com
> Subject: No console under win32
> Date: Sat, 17 Jan 2004 15:05:38 -0500
> 
> I am developing an application with gtk#. So far it has been working
> great on linux using mono as well as win32 using .net. Once I compile in
> windows (csc), and I run it, a console pops up in addition to my GUI.
> This is not that big of a deal, but I was wondering if it is possible to
> not have a console pop up, as when winforms run. Thanks for your time.
> GTK# is excellent. 
> 
> Regards, 
> 
> Alvaro