asp.net mvc 4 - Mvcsitemapprovider 4.0.1 not displaying routes -


i'm new asp.net. i've installed mvcsitemapprovider version 3 without problems when try install version 4 it's not working.

the first thing tried add xmlsitemapcontroller.registerroutes(routetable.routes); global file. following documentation says use mvcsitemapprovider.web. when returns xmlsitemapcontroller doesn't exist in current context. if change use mvcsitemapprovider.web.mvc works, when going sitemap.xml doesn't show of data mvc.sitemap, shows following:

<?xml version="1.0" encoding="utf-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>http://localhost:42370/</loc></url></urlset> 

i'm not receiving other errors can see. happens on current , new projects , i'm using visual studio 2013 preview.

updated 4.0.2 , it's working now.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -