共用方式為


Visual Studio Command Table (.Vsct) Files

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

A command table configuration file is a text file that describes the set of commands that a VSPackage contains. The Visual Studio command table (VSCT) compiler compiles XML-based configuration files (.vsct files) into binary command table output (.cto) files. The resultant .cto files are the same as those that are created by using the command table (CTC) compiler to compile .ctc configuration files. However, XML-based .vsct files has some advantages, such as an XML editor and XML IntelliSense.

To learn more about the syntax and semantics of .vsct files, see Designing XML Command Table (.Vsct) Files

In This Section

Designing XML Command Table (.Vsct) Files

Describes how to design .vsct files.

How to: Create a .Vsct File

Compares the methods for creating a .vsct file. Describes the process for manually creating a new .vsct file.

VSCT XML Schema Reference

Provides details about each section of the command table XML configuration file.

Command Table Configuration (.Ctc) Files Presents an overview of the deprecated .ctc file format.

How VSPackages Add User Interface Elements

Describes the command table format specification.

Resources in VSPackages

Describes how to use managed and unmanaged resources in managed VSPackages.

Commands, Menus, and Toolbars

Explains how to create a UI that includes menus, toolbars, and command combo boxes.