Using the Console Application
The CodeSmith Generator console application, cs.exe, generates code from Generator projects without opening any user interface. Use it in scripts, batch files and build processes to keep generated code up to date.
cs.exe MyProject.csp
In this section
- Incorporating Generator into your build process: why and how to generate code as part of every build.
- Console application usage: command-line switches, setting property values, output file names and maintenance commands.