To start CodeSmith, go to the CodeSmith <Version> in
the programs menu, and select the CodeSmith Studio program. This application contains
many similarities with Visual Studio. It supports pinnable windows, tabbed
documents, a property window, and all of the other features that Visual Studio
.NET developers are knowledgeable about. It builds your templates, lets you
know of any errors that were found, and uses the output window to show the
completed results after building successfully. Below is a snapshot of the
CodeSmith studio.
Figure 1
Using this editor, the Template Explorer on the right allows
you to see your own scripts and create new ones. So what does a script look
like? This article will break down a basic script for you.