T4Toolbox on Web Applications & ASP.NET MVC projects

Mar 12, 2009 at 6:08 AM
Has anyone ever used T4Toolbox in a Web Application project or ASP.NET MVC project?

It looks like there is a problem, initializing T4Toolbox...


George J.
Mar 12, 2009 at 11:16 AM

I had this rant on my to-do list for a while now. MVC team chose to implement a new T4 host, which is incompatible with the standard T4 host in Visual Studio. After a brief look at the code in Reflector, the following functionality is broken:

* custom processing directives
* include files
* assembly references

In other words MVC uses T4 template syntax, but that's about it.

Mar 14, 2009 at 3:38 PM
Just waiting for that anger to swell up to the proper level, eh?