产品
商城演示
案例演示
功能
致开发者
致商店所有者
工业
时尚
健康与美容
食品与饮料
汽车
工业和科学
家具
B2B 电子商务
国际
下载
下载nopCommerce
市场
翻译
版权删除密钥
移动应用程序
Web API
支持 & 服务
训练
文档
社区论坛
高级支持服务
请求报价
联系我们
合作伙伴
简体中文
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
马上开始
Shopping cart
我的帐户
登录
注册
首页
>
论坛管理
>
General
>
Development
>
NopCommerce 4.3 extend model and use it in child theme view
NopCommerce 4.3 extend model and use it in child theme view
上一页
1
2
3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
gatisc
回帖总数:
21
业力:
145
注册日期:
2019/10/21
位置:
Latvia
发表于:
3 年 前
I have the same exception I wrote before. I don't give up!
gatisc
回帖总数:
21
业力:
145
注册日期:
2019/10/21
位置:
Latvia
发表于:
3 年 前
Maybe it is because namaspace in plugin is not visible to child theme view?
motoTed
MVP
认证开发者
回帖总数:
579
业力:
4849
注册日期:
2015/10/23
位置:
United States
发表于:
3 年 前
Your ArcaneProductOverviewModel file is in the Nop.Web project, correct?
Try a clean and rebuild. If Visual Studio only shows that error in the cshtml file then try running it and see what happens when you reach a view with _ProductBox.cshtml
Other things to try:
https://stackoverflow.com/questions/3304741/getting-type-or-namespace-name-could-not-be-found-but-everything-seems-ok/3304899
gatisc
回帖总数:
21
业力:
145
注册日期:
2019/10/21
位置:
Latvia
发表于:
3 年 前
No it is in plugins. Yes it compiles, although in view is an error.
motoTed
MVP
认证开发者
回帖总数:
579
业力:
4849
注册日期:
2015/10/23
位置:
United States
发表于:
3 年 前
gatisc wrote:
Maybe it is because namaspace in plugin is not visible to child theme view?
Ah, this is in a plugin? Try copying the built plugin from:
C:\Users\yourname\Source\Repos\somefolder\nopCommerce\src\Presentation\Nop.Web\Plugins
to:
C:\Users\yourname\Source\Repos\somefolder\nopCommerce\Presentation\Nop.Web\Plugins
or however your directory is setup
gatisc
回帖总数:
21
业力:
145
注册日期:
2019/10/21
位置:
Latvia
发表于:
3 年 前
It is already there.
motoTed
MVP
认证开发者
回帖总数:
579
业力:
4849
注册日期:
2015/10/23
位置:
United States
发表于:
3 年 前
when you run it, what happens when you try to view a product? does it output an error to the browser?
gatisc
回帖总数:
21
业力:
145
注册日期:
2019/10/21
位置:
Latvia
发表于:
3 年 前
af1racing, we are somewhere on different way, let's continue next day, we are 9:27 PM. You are cool!
orionvx
回帖总数:
5
业力:
25
注册日期:
2020/1/1
位置:
Turkey
发表于:
3 年 前
I have the same namespace error. Did you find a solution?
gatisc
回帖总数:
21
业力:
145
注册日期:
2019/10/21
位置:
Latvia
发表于:
3 年 前
Hi!
No I decided to make changes in original code.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
上一页
1
2
3
仍然有问题或需要帮助?
.
高级支持服务
.
获得nopCommerce团队的专门支持,并在24小时内保证得到答复。
.
开发者在线课程
.
获得运行和自定义nopCommerce网站所需的实用技术技能。