Udostępnij za pośrednictwem


Adding Project and Project Item Templates

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

When you create your own project types, you must provide support for adding new projects and project items by using the standard Visual Studio integrated development environment (IDE) dialog boxes. The following topics discuss different techniques for adding projects and project items.

In This Section

Project Context
Explains that the project provides most of the context information for what transpires in the environment.

Project Priority
Explains that a project item is usually a member of one project to help avoid ambiguity about which project is used to open the item.

Miscellaneous Files Project
Provides information about the two types of editors that can be used to open files in a project and the role the project plays in determining which editor to use when a project item is opened.

Registering Project and Item Templates
Explains what occurs when a Visual Studio project is created.

Adding Items to the Add New Item Dialog Boxes
Explains the process for adding items to the Add New Item dialog box.

Adding Directories to the New Project Dialog Box
Provides an example of registering a new directory that contains custom templates made available by a VSPackage.

Adding Directories to the Add New Item Dialog Box
Provides an example of registering a new set of directories for the Add New Item dialog box.

IDE-Defined Commands for Extending Project Systems
Lists different types of command items used for extending project systems.

CATIDs for Objects That Are Typically Used to Extend Projects
Lists CATIDs for objects that are used to extend Visual C++, Visual C#, and Visual Basic project systems.

How to: Open Project-Specific Editors
Provides step-by-step instructions for opening an item intrinsically bound to a specific editor for a project.

How to: Open Standard Editors
Provides step-by-step instructions for opening a standard editor.

Project Subtypes
Provides links to project subtype conceptual topics. Project subtypes extend existing Visual C# and Visual Basic projects.

Project Types
Provides links to additional topics that offer information about how to design new project types.