共用方式為


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

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

How to: Create a .Vsct File
Visual Studio Command Table (.Vsct) Files