I created a new Product Template. I have:
@using Nop.Plugin.Misc.ProductDesigner
and I'm calling a controller action with:
@Html.Action("Designer", "MiscProductDesigner")
The debugger hits the "Designer" action in the controller, but when it returns the view:
Return View("Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer")
(Again, my views are set as an Embedded Resource, and the view structure in the project looks like:
Nop.Plugin.Misc.ProductDesigner
--Views
----MiscProductDesigner
------Designer.vbhtml
I get:
The view 'Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Themes/DarkOrange/Views/MiscProductDesigner/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.cshtml
~/Themes/DarkOrange/Views/MiscProductDesigner/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.vbhtml
~/Themes/DarkOrange/Views/Shared/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.cshtml
~/Themes/DarkOrange/Views/Shared/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.vbhtml
~/Views/MiscProductDesigner/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.cshtml
~/Views/MiscProductDesigner/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.vbhtml
~/Views/Shared/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.cshtml
~/Views/Shared/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.vbhtml
~/Administration/Views/MiscProductDesigner/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.cshtml
~/Administration/Views/MiscProductDesigner/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.vbhtml
~/Administration/Views/Shared/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.cshtml
~/Administration/Views/Shared/Nop.Plugin.Misc.ProductDesigner.Views.MiscProductDesigner.Designer.vbhtml