Solved it! The problem was that when I created my plugin, I just copied _ViewImports.cshtml from another plugin. I just randomly picked Nop.Plugin.Misc.SendInBlue. And THAT plugin had references to @using Nop.Web.Areas in the _ViewImports.cshtml.
I'm not using Areas anywhere in my configure.cshtml (which is why I was so baffled by this error in the first place) so I just removed the offending @using... lines and problem gone.
Shows ta go ya - the error is not always in code you've written.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.