We recommend using Visual Studio 2017

API Reference for T4 Text Templates

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at API Reference for T4 Text Templates.

The Text Templating API lets you invoke and customize the transformation of text templates.

NamespacePurpose
Microsoft.VisualStudio.TextTemplatingContains classes for the text template transformation functionality. The text template transformation engine is integrated into Visual Studio, and transforms text template files into generated text output files.
Microsoft.VisualStudio.TextTemplating.ModelingProvides text transformation facilities related to UML models and domain-specific languages, such as access to Visual Studio ModelBus.
Microsoft.VisualStudio.TextTemplating.VSHostProvides access to the text templating service in Visual Studio.
Show: