Reputation: 6478
I'm working on nopCommerce 3.7 and try to make a plugin. But the problem occurs when i add a razor view. I've added dll reference although it says
The type or namespace name 'xxx' could not be found (are you missing a using directive or an assembly reference?)
Using directive is unnecessary.
Where i made a mistake ? Or What should i do to remove this warning ?
Upvotes: 1
Views: 1320
Reputation: 456
This is the Visual Studio issue. Intellisense doesn’t work in nopCommerce plugin projects. You can read how to fix it here: http://alexwolfthoughts.com/fixing-broken-nopcommerce-razor-intellisense/ and here: Razor HTML Helpers giving intellisense errors in Nop Commerce Plugin
Upvotes: 4