Code Generation with T4 Text Templates: Advanced Topics

T4 Template Transformation Process Abstract

Take your code generation to the next level with Text Template Transformation Toolkit (T4) - one of the best-hidden new features of Visual Studio 2008. This session provides information that will help you to use T4 templates effectively: design of templates for reuse and extensibility, generation of multiple outputs from a single template, use of templates in team environment, and more.

Duration

60 minutes

Outline

  • Generating multiple output files from single T4 file
  • Making code generation templates reusable
  • Combining templates in complex code generators
  • Using code generators in team projects
  • Making code generators extensible

Resources

Download

Slides
Source Code