Some nice new getting started with T4 videos

Kalle over at abstractiondev has a nice series of videos getting started with T4 and developing a rich set of metadata to drive systematic generation. He’s also not afraid to promote his ideas with conviction, which is refreshing these days! Technorati Tags: T4,Videos


What’s new with T4 in the Developer Preview of Visual Studio 11?

In among all the excitement of new ALM features like integrated Code Review and MyWork to manage your daily workflow in the developer preview, there are, of course, a few nice new features for T4. First of all, a naming change that’s underway.  We’ve heard from you that ‘Preprocessed’ isn’t the clearest choice of name…


DevArt joins the T4 Template Editor Fray

  We’ve now got a third contender in the Visual Studio T4 Editor space.  The good folks over at DevArt have joined the race. From their press release: Devart today releases a new powerful Visual Studio add-in for editing T4 templates with syntax highlighting, intellisense, code outlining, and all features of first-class text editor add-in…


Pluralcast Podcast on T4

A few weeks ago, I recorded a podcast about T4, and how it’s being used inside and outside Microsoft with the estimable David Starr, who I happened to meet up with at the recent MVP Summit. You can check it out in the PluralSight Pluralcast blog. Enjoy. Technorati Tags: T4,PluralCast,PodCast,VST4


T4 Samples

Hi, my name is Mårten; I am a part of the T4 team. A couple of years ago, a friend of mine introduced me to T4. That event has transformed my way of thinking about programming more than anything else. Using T4, which is a code-generation tool, I have improved my productivity and the quality…


T4 vs Razor – what’s the skinny?

You might have noticed in the recent storm of Web Tools releases that there’s a groovy new kid on the template engine block – Razor. A few customers have been asking folks on both teams some questions around this, such as the following. Why do you have two engines? When should I use each of…


VS2010 SP1: T4 Improvements Summary

Over the last few posts, I’ve talked about the exciting improvements we’ve made to T4 Text Templating in Service Pack 1 for Visual Studio 2010. Here’s a quick roundup: Firstly, T4 no longer locks referenced assemblies in memory, meaning it’s much easier to use reflection in T4 templates and to use compiled helper libraries. Then…



Products and Extensions in Codeplex A few useful ones: T4 Toolbox by Oleg Sych T4 Toolbox is a set of ready-to-use code generators and T4 extensions for Visual Studio. Quickly build powerful C# or VB templates that generate multiple output files or simply use existing templates for LINQ to SQL, Entity Framework and more. T4…


T4 code samples can be downloaded from Currently we have published these basic samples: Hello World Exceptions We are planning to publish the following set of basic samples to Codeplex: Dependency Properties Named Tuples State Machine framework We are also planning to publish the following set of advanced samples: Cross Language Serialization code (C++ <=>…


Welcome to the official Text Template Transformation Toolkit (T4) team blog. T4 is a flexible code generation tool that can reduce development time and maintenance cost. T4 is easy to adopt in any project and in any stage of product development. For a simple example where T4 can help development, consider exception classes in C#. We like to…