0

我已经为 Nopcommerce 3.70 构建了这个支付插件

https://github.com/ePay/nopcommerce

使其可用于 Nopcommerce v. 3.70。构建和安装成功,但是当我尝试在 nopcommerce 中配置模块时出现此错误:

未找到视图“Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure”或其主视图,或者没有视图引擎支持搜索的位置。搜索了以下位置:

~/Themes/PowerHub/Views/PaymentePay/Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure.cshtml ~/Themes/PowerHub/Views/Shared/Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure.cshtml ~/Views/PaymentePay/Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure.cshtml ~/Views/Shared/Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure.cshtml ~/Administration/Views/PaymentePay/ Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure.cshtml ~/Administration/Views/Shared/Nop.Plugin.Payments.ePay.Views.PaymentePay.Configure.cshtml

我在源代码中唯一更改的是“Description.txt”

SupportedVersions:3.60 -> SupportedVersions:3.70

Build Action被设定为Embeded Resource

4

1 回答 1

1

对于 2.00-3.30 版本,视图(.cshtml 文件)应标记为嵌入式资源。并且从 3.40 版本开始,确保视图文件的“构建操作”属性设置为“内容”,并且“复制到输出目录”属性设置为“如果较新则复制”。

于 2016-03-24T05:37:46.147 回答