Customizing the Start Page in Visual Studio 2010

Source: Internet
Author: User
Tags visual studio visual studio 2010

In the emphasis on personalized today, everything requires personalization, customization, all emphasize a big I. So that's the custom page for igoogle, the Custom personality homepage for Windows Live. Visual Studio, a developer tool that programmers use every day, introduces the ability to customize the start page in order to conform to this custom, personalized trend.

The start page of Visual Studio 2010 is controlled by a Startpage.xaml file, and by editing this file, we can cultivate it on our "three-acre-land", we can add content, add buttons to perform certain functions, You can even add some custom controls to accomplish some special tasks, and so on. In short, the custom Start page is very powerful, so you can say that the custom Start page is a gift from the programmers in Visual Studio 2010. The following is the default start page for Visual Studio 2010, where we can view the news, open project documents, feedback questions, open projects, and so on.

Figure 1,visual Studio 2010 's default start Page

As the saying goes, a good start is half the success. The custom Start page is so powerful that it can help us accomplish a lot of common tasks and bring great convenience to our development work. Let's make some customizations to the start page and do some special functions.

1. Create a Start Page file Startpage.xaml

We can create a start page file Startpage.xaml from scratch, but the more labor-saving approach is to use the Start page template that Visual Studio 2010 gives us, directly modifying it to form our own custom Start page.

\common7\ide\startpages\en\ from the installation directory of Visual Studio 2010, copy Startpage.xaml and startpage.csproj to the user directory. \\Visual Studio 10\startpages\. If you do not have this folder in your user directory, you will need to create it yourself.

When Visual Studio 2010 is started, the Startpage.xaml files in the user directory are looked up. If the file exists, the user-defined Start page is loaded, and the system default start page is used if the file does not exist.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.