K. Scott Allen writes a macro (for VS 2005) that generates the Web. sitemap file ). Original
Running this macro will traverse the entire project and generate a web. sitemap file with a more directory structure. This macro will not overwrite the original web. sitemap file, but will help you generate a template when you want to create a new Web. sitemap file.
Click to download
Usage:
- Call macro Explorer by Alt-F8
- Right-click macros and select "macros ide ..."
- Add "Add references" in the "mymacros" project (or your macro project) and add system. xml. dll.
- "Add existing item" to add the sitemapmodule. VB file from the package downloaded above.
- Close macros IDE and return to macro explorer. The macro module you just added under mymacros: "sitemapmodule", under which there is a macro: "createwebsitemap ". Right-click macro and select "run ".
In this way, the Web. sitemap file is generated.
RelatedArticle:
ASP. NET 2.0 site navigation features (Scott Guthrie)