我在 Orchard 1.8 中创建了我的模块,在 orchard 1.8.1 中安装它时出现错误:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'Orchard' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 89: <add namespace="System.Web.Routing"/>
Line 90: <add namespace="System.Web.WebPages"/>
Line 91: <add namespace="Orchard.Mvc.Html"/>
Line 92: </namespaces>
Line 93: </pages>
该错误是由 ajax 调用引起的。我已经检查过我使用的是与以前版本相同的 jquery。任何想法为什么会发生这种情况?