【发布时间】:2015-05-03 11:29:37
【问题描述】:
我有一个使用 RazorEngine 的 MVC 应用程序。我已将应用程序部署到 Azure,但是当我尝试使用 RazorEngine 执行该方法时,出现以下错误:
Could not load file or assembly 'RazorEngine, Version=3.7.0.0, Culture=neutral, PublicKeyToken=9ee697374c7e744a' or one of its dependencies. The system cannot find the file specified.
我通过将它安装在 GAC 中使其在本地工作。我在引用上将 Copy Local 设置为 true。我也有 System.Web.Razor 作为参考。
有没有人成功地让它在 Azure 上正常工作?
【问题讨论】:
标签: azure razorengine