Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The TargetLanguage attribute is used to specify the output language of the template. You can use any string you like for the attribute; CodeSmith doesn't use it in any way to generate the template's output. This attribute is used by CodeSmith Explorer to determine which folder to display the template in when in template language view. CodeSmith also uses this attribute to determine how to syntax highlight the static content of a template.

...

The Src attribute allows you to include functionality from another class in your template by dynamically compiling that class file as part of your template. Set the value of the attribute to point to the source file of the class that you want to include in the template. You use the Src attribute to enable the CodeSmith code-behind model.

Debug

The Debug attribute is used to determine whether or not debug symbols should be included in the generated assembly. Setting this attribute to True will enable you to set break points in your template using the System.Diagnostics.Debugger.Break( ) method.

...