This documentation is archived and is not being maintained.

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

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Caution: This is a preliminary document that is based on an evolving technology that is not yet completely implemented. As such, it may be incomplete or lacking particular details. More details will be added in future versions.

You can create an XML-based .vsct file from an existing binary .cto file. Doing this allows you to take advantage of the new command table compiler format. This process works even if the .cto file was compiled from a .ctc file. You can edit and compile the .vsct file into another .cto file.

To create a .vsct file from a .cto file

  1. Obtain copies of the .cto file and its corresponding .ctsym file.

  2. Place the files into the same directory as the vsct.exe compiler.

  3. At the Visual Studio Command Prompt, go to the directory that contains the .cto and .ctsym files.

  4. Type vsct.exe ctofilename.cto vsctfilename.vsct -Ssymfilename.ctsym.

    ctofilename is the name of the .cto file, vsctfilename is the name of the vsct file you want to create, and symfilename is the name of the .ctsym file.

    This process creates a new .vsct XML command table compiler file. You can edit and compile the file with vsct.exe, the vsct compiler, as you would any other .vsct file.

See Also