Skip to content

Commit 97334cd

Browse files
authored
Merge pull request #12952 from GitHubber17/262389-e
Freshness: Visual Studio 17.10
2 parents 14b1595 + 0398d21 commit 97334cd

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

docs/ide/how-to-locate-and-organize-project-and-item-templates.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Locate and organize project templates
3-
description: Locate and organize project templates, including installed templates and user templates (.vstemplate files), in Visual Studio.
4-
ms.date: 11/15/2022
5-
ms.topic: how-to
3+
description: Locate and organize project and item templates in Visual Studio, including installed templates and user templates (.vstemplate files).
4+
ms.date: 08/21/2024
5+
ms.topic: concept-article
66
helpviewer_keywords:
77
- project templates [Visual Studio], locations
88
- item templates [Visual Studio], locations
@@ -11,18 +11,21 @@ author: ghogen
1111
ms.author: ghogen
1212
manager: mijacobs
1313
ms.subservice: general-ide
14+
15+
#customer intent: As a developer, I want to locate and organize project and item templates in Visual Studio, so I can easily access them to create code for new projects and items.
1416
---
17+
1518
# Locate and organize project and item templates
1619

17-
Template files must be placed in a known location in order for them to be shown in the new project and new item dialog boxes..
20+
When template files are placed in a known location, Visual Studio can locate the files and make them available for creating new projects and new items. Templates provide a convenient way to create applications, access class libraries, implement unit tests, and set up configuration files.
1821

19-
## Locate templates
22+
Installed templates and user templates (*.vstemplate* files) are stored in different locations. You can also customize the locations with Visual Studio options.
2023

21-
Installed templates and user templates are stored in two different locations.
24+
This article describes the template file locations recognized by Visual Studio.
2225

23-
### Installed templates
26+
## Location for installed templates
2427

25-
By default, templates installed with Visual Studio are located in:
28+
By default, templates installed with Visual Studio are placed in the following locations:
2629

2730
::: moniker range="vs-2019"
2831

@@ -35,7 +38,6 @@ For example, the following directory has the Visual Basic item templates for Eng
3538
*C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\ItemTemplates\\VisualBasic\\1033*
3639

3740
::: moniker-end
38-
3941
::: moniker range="vs-2022"
4042

4143
- *%ProgramFiles%\\Microsoft Visual Studio\\2022\\\<edition>\\Common7\IDE\ProjectTemplates\\<Language\>\\<Locale ID\>*
@@ -48,9 +50,9 @@ For example, the following directory has the Visual Basic item templates for Eng
4850

4951
::: moniker-end
5052

51-
### User templates
53+
## Location for user templates
5254

53-
If you add a compressed (*.zip*) file that includes a *.vstemplate* file to the user template directory, the template appears in the new project and new item dialog boxes. By default, user templates are located in:
55+
When you add a compressed (*.zip*) file that includes a *.vstemplate* file to the user template directory, Visual Studio makes the template available in the **New project** and **New item** dialogs. By default, user templates are placed in the following locations:
5456

5557
::: moniker range="vs-2019"
5658

@@ -76,18 +78,12 @@ For example, the following directory has user project templates for C#:
7678

7779
::: moniker-end
7880

79-
> [!TIP]
80-
> You can change the known location for user templates in **Tools** > **Options** > **Projects and Solutions** > **Locations**.
81-
82-
## Next steps
83-
84-
To learn more about .NET SDK templates and their locations, reference the following articles.
81+
### Change location for user templates
8582

86-
|Article |Description |
87-
|---------|---------|
88-
|[.NET default templates](/dotnet/core/tools/dotnet-new-sdk-templates) | When you install the .NET SDK, you receive over a dozen built-in templates for creating projects and files, including console apps, class libraries, unit test projects, ASP.NET Core apps (including Angular and React projects), and configuration files. This article lists the templates that come pre-installed with the .NET SDK and describes how to interact with them. |
89-
|[Manage .NET project and item templates](/dotnet/core/install/templates?pivots=os-windows&preserve-view=true) | .NET provides a template system that enables users to install or uninstall packages containing templates from NuGet, a NuGet package file, or a file system directory. This article describes how to manage .NET templates through the .NET SDK CLI. |
83+
You can change the location for user templates in Visual Studio with the **Tools** > **Options** dialog. The location settings are on the **Projects and Solutions** > **Locations** page.
9084

9185
## Related content
9286

93-
- [Visual Studio template schema reference (extensibility)](../extensibility/visual-studio-template-schema-reference.md)
87+
- Review the [Visual Studio template schema reference (extensibility)](../extensibility/visual-studio-template-schema-reference.md)
88+
- Use [prebuilt templates installed with the .NET SDK](/dotnet/core/tools/dotnet-new-sdk-templates)
89+
- [Manage .NET project and item templates with the .NET SDK CLI](/dotnet/core/install/templates?pivots=os-windows&preserve-view=true)

0 commit comments

Comments
 (0)