다음을 통해 공유


How to: Create a .Vsct File

There are several ways to create an XML-based command table configuration (.vsct) file.

  • You can use the XML-based command table configuration compiler, Vsct.exe, to generate a file from an existing .ctc file.

  • You can use Vsct.exe to generate a .vsct file from an existing .cto file.

  • You can manually create a new .vsct file.

This topic explains how to manually create a new .vsct file.

To manually create a new .vsct file

  1. Start Visual Studio.

  2. On the File menu, point to New, and then click File.

  3. In the Templates pane, click XML File and then click Open.

  4. On the View menu, click Properties Window to display the properties of the XML file.

  5. In the Properties window, click the Browse (…) button on the Schemas property.

  6. In the list of XSD schemas, select the vsct.xsd schema. If it is not in the list, click Add and then find the file on a local drive. Click OK when you are finished.

  7. In the XML file, type <CommandTable and then press TAB. Close the tag by typing >.

    This creates a basic .vsct file.

  8. Fill in the elements of the XML file that you want to add.

See Also

Concepts

Visual Studio Command Table (.Vsct) Files

How to: Create a .Vsct File from an Existing .Ctc File

How to: Create a .Vsct File from an Existing .Cto File

VSCT XML Schema Reference