Archived

This topic is now archived and is closed to further replies.

IFooBar

C# and windows and consoles

Recommended Posts

I got C# to make a window for me. But whenever I make a window I get a console msdos type prompt in the background while it''s running. Now the other stuff I''ve seen dosnt do this. Is the a setting I''m not turing on/off? is this the nornmal behaviour, like in OpenGL.

Share this post


Link to post
Share on other sites
If you are compiling from the console, add /t:winexe to your csc commandline. If you''re in VS.NET, go to Project->Properties->Common Properties->General->Output Type. Set it to Windows Application.



For those who believe in God, most of the big questions are answered. But for those of us who can''t readily accept the God formula, the big answers don''t remain stone- written. We adjust to new conditions and discoveries. We are pliable. Love need not be a command or faith a dictum. I am my own God. We are here to unlearn the teachings of the church, state, and our educational system. We are here to drink beer. We are here to kill war. We are here to laugh at the odds and live our lives so well that Death will tremble to take us -- Charles Bukowski

Share this post


Link to post
Share on other sites