Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top