title: Create "console" and "window" configurations in Visual Studio project
body: <p>I have a project in Visual Studio 2008. I want to have two different ways of running it - either as a regular Windows application (so it gets a window and I can do graphics stuff) or as a console application (so that it doesn't have a window and doesn't do graphics). Is there a way to set it up so that I can use a command line option or something to switch between these two options when I run it? Is there a way to set up two different configurations in the same Visual Studio proejct so I can build either one? Or do I need to create two completely separate projects, one for the window application and one for the console application.</p>