Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you've finished setting properties for the template, you're ready to generate code. To do this, click the Generate button at the bottom of the template's property sheet. CodeSmith Generator will take the property values that you entered and combine them with the template to create the code, and display it in an output window. The generated code can be edited by typing in the generated output window. Also you You can also easily copy or save the generated text by clicking on the respected buttons at the top of the output window.

...

Next: Inspecting the Template

Advanced: Using a CodeSmith Generator Project to Execute CodeSmith Templates from Anywhere.