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

推荐订阅源

有赞技术团队
有赞技术团队
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
aimingoo的专栏
aimingoo的专栏
IT之家
IT之家
G
Google Developers Blog
爱范儿
爱范儿
博客园 - 司徒正美
Recent Announcements
Recent Announcements
The Register - Security
The Register - Security
J
Java Code Geeks
The Cloudflare Blog
M
MIT News - Artificial intelligence
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Security Blog
Microsoft Security Blog
博客园 - Franky
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
宝玉的分享
宝玉的分享
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
B
Blog
小众软件
小众软件
Microsoft Azure Blog
Microsoft Azure Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
T
Troy Hunt's Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hacker News: Front Page
H
Help Net Security
S
Security @ Cisco Blogs
V
V2EX
Security Archives - TechRepublic
Security Archives - TechRepublic
Stack Overflow Blog
Stack Overflow Blog
O
OpenAI News
L
LINUX DO - 最新话题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
S
Secure Thoughts
Help Net Security
Help Net Security
F
Full Disclosure
博客园 - 叶小钗
The Hacker News
The Hacker News
Spread Privacy
Spread Privacy
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Jina AI
Jina AI
K
Kaspersky official blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Vulnerabilities – Threatpost
P
Privacy International News Feed
Scott Helme
Scott Helme

博客园 - Jilimi

读《创始人》后心得 & 创业十大定律 tfs 查看工作区,删除工作区,删除项目 [转]C#3.0入门系列(十一)-之In, Like操作 [转]asp:UpdatePanel中FileUpload控件应用问题 [转]c#一些常用的正则表达式总结 [转]15位身份证号码转18位算法 [转]使用Managed Extensibility Framework方便的扩展应用程序 本Blog重新启用! [转]SQL常用字符串函数 [转]软件团队的建设和软件开发管理 [转]建立“杀手”开发团队 [转]软件团队的如何建设和软件开发如何管理 [转]软件开发团队的“基础设施”建设 [转]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