T4Toolbox and Visual Studio 2010
- by Ben Griswold
I’ve been using the T4Toolbox to help generate my ASP.NET MVC models and scaffolding for a while now. Another developer tried using my generator project last week and ran into troubles due to a breaking change around the RenderCore() and TransformText() methods in support for VS 2010.
If you upgraded to the latest version of T4Toolbox and receive a build error similar to the following, you are probably in the same boat:
GeneratedTextTransformation.[Template].RenderCore(): no suitable method found to override
We took the easy way out. I had him uninstall the latest version of T4Toolbox and install version 9.7.25.1 which my templates were initially coded against. For now, that worked great, but it sounds like I’ll be doing some rework of the 20+ templates in my project to support Visual Studio 2010 when we migrate later this month.