T4Toolbox and Visual Studio 2010

Posted by Ben Griswold on Johnny Coder See other posts from Johnny Coder or by Ben Griswold
Published on Mon, 05 Apr 2010 16:57:02 +0000 Indexed on 2010/04/05 17:13 UTC
Read the original article Hit count: 502

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.

© Johnny Coder or respective owner

Related posts about Code Generation

Related posts about tools