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
For each template right click, select Properties and clear the Custom Tool property. This has worked for my projects.
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.