Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 1.05 KB

README.md

File metadata and controls

16 lines (9 loc) · 1.05 KB

What's this for?

This is a Visual Studio 2012+ extension which automatically triggers all T4 templates in your solution (or selected project for project-only builds) to be re-run before build.

Installation

Just build and install the template using the VSIX file, grab it from the Visual Studio gallery or do it the easy way and use the 'Extension & Updates' manager in Visual Studio 2012+.

Configuration

By default, the extension will run all of your T4 templates on build. If that's what you want, great -- zero configuration required.

If you want to customize the behaviour, you have two options:

  • Change the default behaviour from the AutoT4 section of the Visual Studio options dialog.
  • Override the default behaviour for a specific template by changing the Run on build setting in the Properties window for any .tt file in your solution. Whatever you specify here will take precedence over the default in the options dialog (unless you select "Default").