Arif
Arif

Reputation: 6478

Type or namespace could not be found in nopCommerce razor view engine

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.

enter image description here

Where i made a mistake ? Or What should i do to remove this warning ?

Upvotes: 1

Views: 1320

Answers (1)

mariann
mariann

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

Related Questions