Udostępnij za pośrednictwem


How to: Find and Install Templates Located Online

You can find and install online project templates from the New Project dialog box. Each project template represents a type of project that Visual Studio can create for you. You can find and install online item templates from the Add New Item dialog box. You can also install online project and item templates from Extension Manager.

Tip

For more information about how to install project templates that you've created, see How to: Locate and Organize Project and Item Templates.

To install project templates from the New Project dialog box

  1. On the File menu, click New, and then click Project. The New Project dialog box opens.

  2. In the left pane, click Online Templates and expand the Templates list.

  3. In the Templates list, select the category of templates to search for

    -- OR --

    Type one or more keywords in the Search box.

    A list of templates appears in the middle pane.

Note

The search function ignores the selected category and returns results with the given keywords in their titles or descriptions. Partial words are included but all keywords must be present in the result.

  1. Select a template from the list.

    Information about the selected template appears in the right pane.

  2. Double-click the template to install

    -- OR --

    Fill in the fields at the bottom of the window and click OK to install the template and create a new project.

For more information about the New Project dialog box, see How to: Create Solutions and Projects

To install item templates from the Add New Item dialog box

  1. In Solution Explorer, right-click the current project, select Add, and New Item.

    The Add New Item dialog box opens.

  2. In the left pane, click Online Templates and expand the Templates list.

  3. In the Templates list, select the category of templates to search for

    -- OR --

    Type one or more keywords in the Search box.

    A list of templates appears in the middle pane.

Note

The search function ignores the selected category and returns results with the given keywords in their titles or descriptions. Partial words are included but all keywords must be present in the result.

  1. Select a template from the list.

    Information about the selected template appears in the right pane.

  2. Double-click the template to install

To install templates from Extension Manager

  1. On the Tools menu, click Extension Manager….

  2. In the left pane, click Online Gallery and expand the Templates list.

  3. In the Templates list, select the category of templates to search for.

    A list of templates appears in the middle pane.

    -- OR --

    Type one or more keywords in the Search box.

    A list of extensions matching the search keywords appears in the middle pane.

Note

The search function ignores the selected category and returns results with the given keywords in their titles or descriptions. Partial words are included but all keywords must be present in the result.

  1. Select a template from the list.

    Information about the selected template appears in the right pane.

  2. Double-click the template to install

    -- OR --

    Click Download.

For more information about Extension Manager, see Installing and Managing Visual Studio Tools and Extensions

See Also

Tasks

How to: Restore Default Project Templates

Concepts

How to: Publish Project Templates