what is and where can I find MvcTextTemplateHost

后端 未结 4 527
太阳男子
太阳男子 2021-01-19 07:07

I would like to know what this is MvcTextTemplateHost. I have this in my create.tt but I cant find it in my bin folder (searching with object viewer). I read up and found ou

4条回答
  •  醉酒成梦
    2021-01-19 07:50

    I had the same problem after installing the T4 templates for modifying Visual Studio's auto generated CRUD pages described in this question: How do I create my own Scaffold Template in ASP.NET MVC 3?

    The solution for me was just to just close Visual Studio 2012 and say Yes to saving the solution. When I reopened it everything compiled fine again, magically. The comments on this answer suggest this has worked for similar situations: https://stackoverflow.com/a/13816299/176877

提交回复
热议问题