I’m using Visual Studio 2012 Express for Web.
When I try to add a view, I get an error saying:
The templates had the following 1 error(s)
C:\Program Files\Microsoft Visual Studio
11.0\Common7\IDE\VWExpress\ItemTemplates\CSharp\Web\MV
C 3\CodeTemplates\AddView\CSHTML\Empty.tt(-1,-1): error :
There was a problem getting an AppDomain to run the
transformation from the host. The process cannot continue.
I’ve been plugging in Ninject (this is actually just an app to prove it’s working) so it could be something to do with one of the start-up files.
Where do I start looking to try to fix this?
Thanks
Dave
Try restarting the Visual Studio 2012 and add a view now, and that should do for you.
Have you copied the
Code Templatesfolder your project ?