Partilhar via


IDE-Defined Commands, Menus, and Groups

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

Many menus, commands and command groups are already defined for use by the Visual Studio IDE. These commands are also available for your use when you extend Visual Studio.

Finding Environment-Defined Commands

The environment commands are defined in a set of four .vsct files:

  • SharedCmdDef.vsct

  • SharedCmdPlace.vsct

  • ShellCmdDef.vsct

  • ShellCmdPlace.vsct

    These files are located in <Visual Studio SDK installation path>\VisualStudioIntegration\Common\Inc\. These files provide the definitions and GUIDs of the menus and groups that you can use in the command table configuration (.vsct) file of your VSPackage as containers for your own menus, groups, and commands.

In This Section

Gives the GUID and ID values of menus on the Visual Studio menu bar, and of the groups they contain.

Gives the GUID and ID values of toolbars in the Visual Studio IDE, and of the groups they contain.

Gives the GUID and ID values of commands defined by the Visual Studio IDE.

See also