惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Securelist
O
OpenAI News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Threat Research - Cisco Blogs
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Google Online Security Blog
Google Online Security Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
N
News and Events Feed by Topic
S
Security Affairs
SecWiki News
SecWiki News
Project Zero
Project Zero
L
Lohrmann on Cybersecurity
P
Proofpoint News Feed
P
Palo Alto Networks Blog
L
LINUX DO - 最新话题
H
Hacker News: Front Page
Recent Commits to openclaw:main
Recent Commits to openclaw:main
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
K
Kaspersky official blog
The GitHub Blog
The GitHub Blog
I
InfoQ
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
B
Blog
IT之家
IT之家
AWS News Blog
AWS News Blog
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
Spread Privacy
Spread Privacy
N
News and Events Feed by Topic
Security Latest
Security Latest
美团技术团队
C
Check Point Blog
WordPress大学
WordPress大学
T
Tenable Blog
S
Security @ Cisco Blogs
Last Week in AI
Last Week in AI
博客园 - 聂微东
月光博客
月光博客
博客园 - 【当耐特】
S
Schneier on Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Secure Thoughts
Schneier on Security
Schneier on Security
C
Cisco Blogs
Cyberwarzone
Cyberwarzone

博客园 - Jilimi

读《创始人》后心得 & 创业十大定律 tfs 查看工作区,删除工作区,删除项目 [转]C#3.0入门系列(十一)-之In, Like操作 [转]asp:UpdatePanel中FileUpload控件应用问题 [转]c#一些常用的正则表达式总结 [转]15位身份证号码转18位算法 [转]使用Managed Extensibility Framework方便的扩展应用程序 本Blog重新启用! [转]SQL常用字符串函数 [转]软件团队的建设和软件开发管理 [转]建立“杀手”开发团队 [转]软件团队的如何建设和软件开发如何管理 - Jilimi [转]软件开发团队的“基础设施”建设 [转]ASP.NET 2.0运行时简要分析 [转]杰出人士的20个好习惯 [原创]我的新生活 [转]成长必看的五个故事 用 devenv.exe /resetuserdata 恢复Visual Studio 初始状态 [转]Sandcastle创建帮助文档
[转]用宏自动生成Web.sitemap文件(ASP.NET 2.0)
Jilimi · 2008-11-03 · via 博客园 - Jilimi

K. Scott Allen 写了一个生成Web.sitemap文件的宏(for VS 2005)。原文

运行这个宏会遍历整个工程,更具目录结构生成Web.sitemap文件。这个宏不会覆盖原有的Web.sitemap文件,只是在你想新建一个Web.sitemap文件的时候,帮你生成一个模板。

点击下载

具体使用方法:

1.   Alt-F8Macro Explorer调出来

2.   Macros上点右键,选择“Macros IDE...”

3.   “MyMacros”工程(或者你自己的Macro工程)里“Add References”,把System.XML.dll加进来

4.   “Add Existing Item”,把从上面下载到的包里的SiteMapModule.vb文件添加进来。

5.   关闭Macros IDE,回到Macro ExplorerMyMacros下面的新增了你刚才添加的macro module“SiteMapModule”,其下有一个Macro“CreateWebSitemap” 。右键点击这个macro,选择“Run”

这样Web.sitemap文件就生成出来了。


相关文章:
ASP.NET 2.0 Site Navigation Features
by Scott Guthrie