T4 Debugging – Under The Hood

Hi – my name is Tim Malone and I’m a developer in Visual Studio, working on T4. I began my time at Microsoft in the summer of 2010 as in intern working on what would eventually become the new "Debug T4 Template" feature in Visual Studio 2012 (described here). I’d like to expand a bit…


What’s new with T4 in Visual Studio 2012 Release Candidate

I’m a bit quicker off the mark than I was with our Beta as this is my first day back from vacation after our Release Candidate has launched.  We have one final significant T4 feature to add for Visual Studio 2012 in addition to all of the stuff from out beta and developer previews, and…


What’s new with T4 in Visual Studio 11 Beta?

Our beta release has been available for a couple of weeks now, so I thought it was about time I updated folks on what’s new for T4. Everything below is in addition to the features and changes I noted in my previous post, What’s new with T4 in the Developer Preview of Visual Studio 11?…


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. http://www.pluralsight-training.net/community/blogs/pluralcast/archive/2011/04/07/pluralcast-39-t4-with-gareth-jones.aspx Technorati Tags: T4,PluralCast,PodCast,VST4


New T4 blog and new T4 samples

Some of you may have noticed that we’ve launched a new T4 official blog over at http://blogs.msdn.com/b/t4. We wanted a single place to consolidate information about T4, whether it be from my team that produces the core T4 engine or the teams within Microsoft that build on top and use T4 as their code generation…


Hiring again

Folks, if you want to work on Visual Studio, here’s your chance. We’ve two openings for senior developers on my team working on building WPF-based experiences and the underlying infrastructure for agile/enterprise team dev tools. http://bit.ly/gb8P76 && http://bit.ly/gjHsqC   Apply through the jobs site and ping me or just get in touch directly. C’mon, let’s…


VS2010 SP1: T4 Template Inheritance Part IV – Regular template inheritance

I promised in the last post that I’d show how to do template extensibility and customization using inheritance with regular templates, rather than the preprocessed kind, so here goes. The preprocessed solution was a three-layer design. The base preprocessed template, DataClass.tt provided the code generation smarts to spit out a customizable C# class from some…


VS2010 SP1: T4 Template Inheritance Part III – Customizing The Template

Last time, in Part II, I described a highly structured approach to creating and harnessing a preprocessed template to generate a simple C# class from metadata. I put lots of nice extensibility points in that template and now we’re going to exploit them to show how easy it gets to be to customize a template…


VS2010 SP1: T4 Template Inheritance Part II – The Core Template

  Last time, I outlined my scenario – we have a template that produces a very vanilla C# class from metadata and we’d like to customize it to produce something more directly applicable to our current project.  Of course, we could always just copy the standard template into our project and hack around a little…