Command-Line Interface

This section explains how to use C-Sharpener For VB (CSVB) from the command-line. Since CSVB is a Visual Studio .Net Add-in it still utilizes Visual Studio to run in command-line mode. Here is what will happen:

1.CSVB will launch from the command-line in the context of Visual Studio .Net.
2.CSVB reads a config.xml file to determine what and how a project is converted.
3.CSVB performs the conversion.
4.CSVB saves the new project and closes Visual Studio .Net. If there is an error, CSVB creates a ConversionError.txt file in the current directory that explains any problems.

It is a good idea for you to do a conversion manually through the standard user interface before you try and automate a conversion. You can see Detailed Instructions for more information on how to use the command-line interface.