Aracılığıyla paylaş


How to: Find and Install New Templates

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

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.

Not

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 New File or Add New Item dialog box

  1. On the File menu, click New, and then click File.

    The New File dialog box opens.

    -- OR --

    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.

Not

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.

Not

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

Concepts

How to: Publish Project Templates