Generate T4MVC templates

Everybody is talking how good the T4 templates, but nobody tells you how to generates the bloody things.

In VS2012 if you open command window (View-> Other Windows -> Command Window) and execute
TextTransformation.TransformAllTemplates – that should do the trick.

If you would like a button for that – add Build Toolbar Panel and it should contain “Transform All Templates” button.

Or you can install Chirpy and configure it to do T4MVC for you on every build: