IDE-Defined Commands
참고
Beginning with Visual Studio 2008 SDK, use XML Command Table (.vsct) files instead of command table configuration (.ctc) files to define how menus and commands appear in your VSPackages. For more information, see XML-Based Command Table Configuration (.vsct) Files.
Many 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 .ctc 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.
참고
Many of the commands and command groups are referred to using predefined names, rather than GUID:ID pairs. The macros that associate the predefined names with the appropriate GUID:ID pairs are defined in several header (.h) files. The header files used by each command file are included at the top of the command file.
See Also
Concepts
Command Table Configuration (.Ctc) Files