This was due to a bug. It has now been fixed in v4.6.2.
mvc.sitemap couldn't be found exception
-
23-06-2023 - |
Question
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow