Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top