Saturday, October 25, 2008

Here's a great Visual Studio 2008 option that I didn't know existed until a few months ago:

Save new projects when created option in Visual Studio

Under Tools -> Options -> Projects and Solutions, you can uncheck the "Save new projects when created" option to let you whip up a little project to test something out, without having to bother with saving it somewhere permanent.

When creating a new project, instead of this:

File -> New Project dialog, with prompts for location and solution name

You'll get this:

File -> New Project dialog, with prompt only for project name 

No longer do you have to name your project "ConsoleApplication64"! You can use ConsoleApplication1 as often as you want :)

Where does it save these temporary projects, you may ask? They get stashed in a Temporary Projects folder underneath your profile's AppData directory.

When you close the project or quit Visual Studio, you'll get a prompt asking you if you want to keep the project:


If you choose Discard, it will be removed from disk and you'll never see it again!

ConsoleApplication1, here I come!



Previous tips:

Comments are closed.