Pages - Menu

nopCommerce Plugin - The partial view was not found

In an attempt of creating a new plugin, we have the following standard nopCommerce views and a "shared" view.

solutionexplorer

When dealing with view, I ran into an error like below where it cannot find the view for the plugin.

viewerror

In visual studio, view created by default with Build Action set to Content. This needs to be changed to Embedded Resource.

viewresource

The partial view also needed to be referenced by giving the fully qualified name space in the calling view.

FQ

No comments:

Post a comment