[Gtk-sharp-list] Console window

Jonathan Pryor jonpryor@vt.edu
23 Apr 2003 23:27:48 -0400


Use CSC.EXE and compile with the -t:winexe parameter, e.g.

	csc -t:winexe my-program.cs

MCS might support winexe's, but I'm not sure.

There is a way to use the VS.NET project editor to set this option, but
I haven't used VS.NET in months and have no inclination to boot up my
spare computer to find out....  Dig around and you should find the
option.

 - Jon

On Sun, 2003-04-13 at 23:20, Mark Derricutt wrote:
> Just created a simple GtkSharp app in Visual Studio (yay) which runs,
> however, as well as opening the Gui windows, it opens an unsitely console
> window.
> 
> I'm guessing something in project/class is telling .NET to compile my app
> as a console program, is there a way to get it to run WITHOUT a console
> window popping up?
> 
> Some magic attribute/flag or something?
> 
> Mark
> 
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list