[Gtk-sharp-list] DOS-box on Windows

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Apr 1 11:11:19 EST 2006

On 4/1/06, Finn Gruwier Larsen <finn at gruwier.dk> wrote:
> Hi,
> I'm working on an application that is going to run on both Linux and
> Windows, using Gtk# for the GUI. On Windows I don't use Mono, but only
> the Gtk# runtime on top of .NET 1.1.
> Until now it runs fine on both platforms, with no recompiling nessecary
> at all. The only thing that I find a bit annoying is that on Windows I
> always get an empty "Dos-box" when I run the application.
> Why is this, and is there any way to avoid it?

Which platform did you compile it on? I think mcs defaults to
compiling normal exes rather than 'winforms' exes, which which on
Windows will get you a 'DOS window'. If that's true then you'd want
-target:winexe. I could be way off base here though ;-)


More information about the Gtk-sharp-list mailing list