Finally, we've finished our CodeSmith template and we're ready to go.
Again, going back to a similar architecture as ASP.NET, CodeSmith uses a similar paradigm of "building" and "running" templates. First, we need to build our new template, and make sure we have no syntax errors, as well as setting up our template properties.
Once your template has built you will see your newly defined properties appear in your Properties window within CodeSmith Studio. Go through and fill out all the required properties. Once complete, simply "run" your template.
Your template output appears in a seperate window tab within CodeSmith studio. Now, simply copy and paste the HTML output into your preferred HTML file (including all of the information from my download), and you're set!
You can see an example of the final output at:
And, you can download the full source, including all dependent collateral to run this template on your own at: