I'm enjoying using the well-made MVCSiteMapProvider through Nuget at the moment but I've hit a roadblock.
I'm trying to modify the template for the @Html.MvcSiteMap().Menu()
helper. The file I'm modifying is ..\Views\Shared\DisplayTemplates\MenuHelperModel.cshtml
and no matter what change I make to the file, the template does not update when rendered.
I've done a Find All with notepad++ and found that within MvcSiteMapProvider.dll
there is two templates, one for classic asp.net and one for Razor. So clearly the template within the .dll file is being called - but how do I make this not the case?
It may be worth knowing that although the templates are located in ..\Views\Shared\DisplayTemplates\
, the site is configured to use a different folder for Views.
edit: also if I pass in a template name to the helper, still no effect.