Library Package Reference Includes Several Views: Use?

Apr 1, 2011 at 7:52 PM
Edited Apr 1, 2011 at 8:34 PM

I installed 3.0.0.1 as a Library Package Reference and it installed several views into /Views/Shared:

  • MenuHelperModel.ascx/cshtml
  • SiteMapHelperModel.ascx/cshtml
  • SiteMapNodeModel.ascx/cshtml
  • SiteMapNodeModelList.ascx/cshtml
  • SiteMapPathHelperModel.ascx/cshtml
  • SiteMapTitleHelperModel.ascx/cshtml

How are they meant to be used? I mean, they aren't actually in a proper directory for template-ing to work, and SiteMapPathHelperModel.ascx is not used when I use:

<%=Html.MvcSiteMap().SiteMapPath()%>
Apr 1, 2011 at 8:06 PM
Edited Apr 1, 2011 at 8:32 PM

Nevermind: this explains it:

http://mvcsitemap.codeplex.com/wikipage?title=HtmlHelper%20functions&referringTitle=Home

but this needs to be taken into account for them to actually work:

http://mvcsitemap.codeplex.com/discussions/244700

Coordinator
Apr 5, 2011 at 6:16 AM

Will be fixed in the next NuGet release for MvcSiteMapProvider