Versions Compared

Key

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

You can use the Assembly directive to reference an external assembly from a template, or to include a source file for dynamic compilation. For example, CodeSmith ships with an assembly named CodeSmith.CustomProperties.dll that includes custom editors for file names and string collections. If you'd like to use one of these editors from your own template's property sheet, you need to reference the assembly:

Code Block
languagehtml/xml
<%@ Assembly Name="CodeSmith.CustomProperties" %>
Info

The source code for the CustomProperties assembly is in the SampleProjects folder of your CodeSmith installation.

...