我想在我的MVC项目使用T4模板。这screencast建议只是将现有的用于MVC的T4模板复制到您的解决方案并从那里去。然而,当我尝试编译我得到这个错误:MvcTextTemplateHost没有找到
Error 1 Compiling transformation: The type or namespace name
'MvcTextTemplateHost' could not be found (are you missing a using directive
or an assembly reference?)
我不知道这可能会住在什么装配,而谷歌是不是被它多大的帮助。有谁知道我应该参考什么汇编?
相关:http://stackoverflow.com/questions/6320883/what-is-and-where-can-i-find-mvctexttemplatehost – 2013-04-17 23:19:35