我有一個簡單的網站地圖:MVCSiteMapProvider不顯示的SiteMapPath
<mvcSiteMapNode title="Projects" controller="Projects" action="Index"> <!--This wraps the entire site since Projects Index is the homepage-->
<mvcSiteMapNode title="Projects" controller="Projects" action="Index">
<mvcSiteMapNode title="Project" controller="Projects" action="Details">
<mvcSiteMapNode title="Session" controller="Session" action="DetailsNew" />
<mvcSiteMapNode title="Edit Session" controller="Session" action="Edit" />
</mvcSiteMapNode>
</mvcSiteMapNode>
<mvcSiteMapNode title="My Account" controller="Account" action="ChangePassword" />
<mvcSiteMapNode title="Admin" controller="Admin" action="Index" >
<mvcSiteMapNode title="Create User" controller="Admin" action="AddUser" />
<mvcSiteMapNode title="Manage Users" controller="Admin" action="Users" />
</mvcSiteMapNode>
</mvcSiteMapNode>
當我把我的@Html.MvcSiteMap().SiteMapPath()
項目詳情頁面,沒有顯示上。想法?