Skip to content
| Marketplace
Sign in
Visual Studio>Tools>AutoTT
AutoTT

AutoTT

MartinFr-

|
1,443 installs
| (1) | Free
Visual Studio Add-in for automatically running T4 Text Template (TT) files when one of the registered triggers are hit.
Download

Visual Studio Add-in for automatically running T4 Text Template (TT) files when one of the registered triggers are hit.

HOW

Enable the add-in in Visual Studio (Tools->Add-in Manager).
Create an AutoTT.config file anywhere in the project with the configuration, and it will automatically be loaded.

CONFIGURATION EXAMPLE

XML
Edit|Remove
xml
<configuration>    <template name="T4MVC.tt" onbuild="true" >        <trigger pattern="^Controllers\\" />        <trigger pattern="^Content\\" />    </template></configuration>
<configuration>     <template name="T4MVC.tt" onbuild="true" >         <trigger pattern="^Controllers\\" />         <trigger pattern="^Content\\" />     </template> </configuration>
- Note the trigger pattern is a regular expression and special characters need to be escaped

INTELLISENSE

For intellisense when writting the AutoTT.config configuration file add the xsd schema found in the install folder to Visual Studio either via the XML->Schemas option (visible when a xml file is open) or by putting the xsd schema file in the Visual studio xsd schema folder which could normally be found at %InstallRoot%\Xml\Schemas

SOURCE CODE

You can find the source code on GitHub - https://github.com/MartinF/Dynamo.AutoTT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft