Solution to "c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\Web\MVC 4\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." Exception in Visual Studio 2012

This is an easy one. Just restart Visual Studio. Not sure what happened, but I’ll follow up with the Visual Studio team to see if I can find out.

Share