A text template file contains a mixture of text blocks and control logic. The control logic is used to combine the text blocks with the data held within a model to produce an output file. There are a variety of uses for text templates; for example, generating code or generating documentation from models. A text template contains both text blocks and control logic that are read along with the model by the text transformation engine. The engine processes the text template to create the appropriate output file that might be source code, xml, html, or another deployable software artifact.
Once you have a completed text template, you can run it as described in the following procedures.
Note |
|---|
| You can also run a text template from the command line using the VsTextTransform.exe command. For more information, see TextTransform. |
To run a single text template file
To run all text template files in a solution
Security
See Also