次の方法で共有


Checklist: Creating New Project Types

You must complete several tasks to create a new project type. The following checklist provides a guide to those tasks.

  1. Design the functionality for your new project type. For more information, see Project Type Design Decisions.

  2. Determine which editors are used for code and other project elements. You can use the core or standard editors, or you can create and use project-specific editors. For more information, see Creating Custom Text Editors and Designers and How to: Open Project-Specific Editors.

  3. Determine the level of participation your project items will have in the Class View and the Object Browser. For more information, see Supporting Symbol-Browsing Tools.

  4. Derive new classes based on design decisions that you made previously for your project and project items.

  5. Write the code for the following project type components:

  6. Test, debug, and start your project type.

  7. Display your project in the Project tab of the Add Reference dialog box by setting VARIANT_TRUE as the value for VSHPROPID_ShowProjInSolutionPage. For more information, see __VSHPROPID and GetProperty.

  8. Create the Microsoft Installer (.msi) file for installing your VSPackages. For more information, see Installing VSPackages By Using Windows Installer, Registering a Project Type, and VSPackages.

See Also

Concepts

Hierarchies in Visual Studio

When to Create Project Types

Other Resources

Creating Project Types