Fully configurable extension for Visual Studio 2017 & 2019 Transform T4 Templates when building your solution.
Just install the extension. You can download it at the marketplace or install it in Visual Studio.
Enable or disable T4Executer via
Extensions - T4Executer - Enable/Disable, it's enabled by default.
T4Executer will run all your templates when building your solution.
Run all T4 Templates in your solution by clicking the T4 icon on the solution explorer menu.
You can set which T4 Templates to execute before build, after build or which Templates to ignore completely on build time via
Extensions - T4Executer - Configure.
Specify to preserve the generated file timestamp when the file content is not changed via
Extensions - T4Executer - Preserve timestamp.