For Visual Studio .NET 2005, instead of programmatically setting the following properties, set them via the Properties window:
Full details on all new features