I have an MVC 4 project which uses MVC Site map provider for it's menu.
The project has some customised (in terms of CSS
classes) templates such as ~\Shared\DisplayTemplates\MenuHelperModel.cshtml
which according to the docs are the right locations for them.
Unfortunately the template classes are not applied (but the menu content itself is shown) so I see the unstyled menu.
The following three NuGet packages are installed at version 4.4.7
:
- MvcSiteMapProvider.MVC4
- MvcSiteMapProvider.MVC4.Core
- MvcSiteMapProvider.Web
I've tried updating the version to 4.6.22
but to no avail.
All I could find on SO was this post: MVCSiteMapProvider won't use Razor Templates for Menu but that indicates that changing the view location may be the problem, whereas mine is using the defaults.
Is there some hidden config or method I can use to debug this? really struggling to find anything.