How to: Create a .Vsct File from an Existing .Ctc File
You can create an XML-based .vsct file from an existing command table .ctc source file. By doing this, you can take advantage of the new XML-based Visual Studio command table (VSCT) compiler format.
To create a .vsct file from a .ctc file
Obtain a copy of the Perl language.
Obtain a copy of the Perl script ConvertCTCToVSCT.pl, typically located in the <Visual Studio SDK installation path>\VisualStudioIntegration\Tools\bin folder.
Obtain a copy of the .ctc source file that you want to convert.
Place the files in the same directory.
In the Visual Studio Command Prompt window, navigate to the directory.
Type
perl.exe ConvertCTCtoVSCT.pl PkgCmd.ctc PkgCmd.vsct
where PkgCmd.ctc is the name of the .ctc file and PkgCmd.vsct is the name of the .vsct file that you want to create.
This creates a new .vsct XML command table source file. You can compile the file by using Vsct.exe, the VSCT compiler, as you would any other .vsct file.
Note
You can improve the readability of the .vsct file by reformatting the XML comments.
See Also
How to: Create a .Vsct File
Visual Studio Command Table (.Vsct) Files