asp.net-mvcsitemapmvcsitemapprovider

mvc.sitemap couldn't be found exception


I have installed MVCSitemapProvider, I need to make it scan assemble without using mvc.sitmap xml file. From this article I have done that.

<add key="MvcSiteMapProvider_ScanAssembliesForSiteMapNodes" value="true" />
<add key="MvcSiteMapProvider_EnableSiteMapFile" value="false"/>

Then I deleted mvc.sitemap file, but I faced "mvc.sitemap couldn't be found" exception.


Solution

  • This was due to a bug. It has now been fixed in v4.6.2.