Thanks to John Meyer for pointing this out in the comments in the previous post.
As mentioned in the notes, you can override the global T4 Templates for Add Controller and Add View in the ASP.NET MVC Framework by importing them into your MVC Project as such.
This gives you per project T4 Templates as opposed to using the global templates as mentioned before.
Per the notes, make sure you remove the Custom Tool Setting on each template so that Visual Studio won’t try to transform them on the fly and give you a bunch of errors.
Nice option!
Tagged: T4 Templates, Code Generation