Previously, with Visual Studio 2012, I was able to bring the CodeTemplates
folder up to my project directory and then modify the existing T4 templates
or add entirely new T4 templates to meet my particular code generation requirements.
It seems that the previously described approach will no longer work with the new scaffolding engine introduced with Visual Studio 2013. In particular, it seems that the new scaffolding logic resides here:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding
and I'm assuming that you need to build a new custom scaffolding DLL and register it with Visual Studio to do your own flavour of code generation. Of course, I have no idea how to do this.
So, does anyone know of a way to generate code (e.g. Views) using custom T4 templates in Visual Studio 2013?