After reading this document you will know how-to download, install and use the CodeSmith Generator SDK in your applications. This document will also demonstrate the most common uses of the CodeSmith Generator API:
- Compiling a template
- Retrieving compile errors
- Creating a new template instance
- Filling in template metadata
- Rendering a template
Download
After logging into your account, visit the following the downloads section to download the latest version of CodeSmith Generator.
...
Info |
---|
A C# and VB.Net sample SDK project exists in your extracted samples under the following directory (Documents\CodeSmith Generator\Samples\<VERSION>\Projects\CSharp\APISample). You may need to do some minor changes like changing the ConnectionString. |
Info |
---|
A project using an SDK license must be Strong-Named. |
Adding project references
...