MvcTextTemplateHost not found

前端 未结 2 435
北荒
北荒 2020-12-17 10:39

I\'m trying to use the T4 templates in my MVC project. This screencast suggests just copying the existing T4 templates for MVC into your solution and going from there. Howev

相关标签:
2条回答
  • 2020-12-17 11:21

    For each template right click, select Properties and clear the Custom Tool property. This has worked for my projects.

    0 讨论(0)
  • 2020-12-17 11:26

    I got this error after installing twitter bootstrap via console

    Install-Package twitter.bootstrap.mvc4.sample
    

    and my solution was to close visual studio and re-open it, and the error was gone.

    0 讨论(0)
提交回复
热议问题