如何在Visual Studio 2017中添加nopcommerce(4.10)主题?

时间:2018-10-01 06:41:07

标签: themes nopcommerce-4.1

我是nopcommerce网站的新开发人员。已将文件添加到nop.web -> theme -> newtheme。然后将其显示在管理面板上。我选择新主题。 newtheme ->views -> home - index.cshtml中的错误上升。你能帮我吗?

  

Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException:   '发生一个或多个编译失败:   E:\ Workspace \ Noncommerce \ nopCommerce_4.10_Source \ Presentation \ Nop.Web \ Themes \ MyTheme \ Views \ Home \ Index.cshtml(6,15):   错误CS1061:“ IHtmlHelper”不包含以下定义:   “小部件”,没有扩展方法“小部件”接受第一个参数   可以找到类型为“ IHtmlHelper”的(您是否缺少   指令还是程序集引用?)

0 个答案:

没有答案