"Unable to compile template. Check the Errors list for details" 问题解决办法

这两天同事部署新机器,把我的之前运行的脚本迁移的过程中换了盘符路径,导致迁移之后运行总报“Unable to compile template. Check the Errors list for details.” 错误,由于服务器上没有调试环境,整了老半天没找到法子,后面发现少引用了一个razor dll:System.Web.Razor.dll,NND真坑爹!

凡事对得起自己!
原文地址:https://www.cnblogs.com/aeron/p/2528372.html