Tip #103: Adding the New Website and Open Website buttons to the VS2010 Start Page

In the new VS2010 UI, the start page has been completely re-written.  Part of the changes made were to hide the New Website and Open Website buttons.  Basically it went from the old look in VS2008:


To the new look in VS2010:


Of course, ASP.NET website projects are still around and not going away soon.  Here’s a very quick way to make them show up on the Start Page again.

  1. Download the StartPageWeb.zip file linked here
  2. Extract StartPageWeb.xaml and copy it into your Documents\Visual Studio 10.0\StartPages folder
  3. Open Visual Studio 2010 and open Tools –> Options.  Find the option under Environment –> Startup, and set the Customize Start Page dropdown to point at the new XAML file.

That’s it!  Now your start page will look like this:


Note: you may get a security warning that the file is not trusted.  This is due to downloading it from the scary Internet.  From Windows Explorer, you can right-click the file, select Properties, and then select the Unblock button by the bottom:


Hope you find this helpful!

– Jimmy Lewis
SDET | Visual Web Developer team

Comments (3)

  1. webmannetwork says:

    What do you do if your My Documents are redirected to the network?  I get the error: "Can not load custom Start Page <Path>/StartPageWeb.xaml from a restricted location."  Any information you can provide is much appreciated.

  2. Jimmy Lewis says:

    @webmannetwork – I’ve just posted a follow up to this blog post.  Apparently there’s a better way to customize start pages and the loose .xaml method is a "legacy" feature from Beta 2.  Check out the new post and let me know if it works: http://blogs.msdn.com/webdevelopertips/archive/2010/04/23/tip-103-revisited.aspx

  3. Prkle! says:

    This is so sh*t! It says something different on the google search than what is in here… F*cking wankers…