Skip to content
/ AutoT4 Public

A zero-configuration extension for Visual Studio 2012+ which automatically runs your T4 templates at build time.

License

Notifications You must be signed in to change notification settings

bennor/AutoT4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"). Note: this option is not available for T4 templates in a new NET Core or NET Standard project.

About

A zero-configuration extension for Visual Studio 2012+ which automatically runs your T4 templates at build time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages