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

推荐订阅源

L
LangChain Blog
博客园 - 司徒正美
美团技术团队
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Troy Hunt's Blog
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
B
Blog
NISL@THU
NISL@THU
月光博客
月光博客
博客园 - 【当耐特】
AWS News Blog
AWS News Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
腾讯CDC
L
Lohrmann on Cybersecurity
The Cloudflare Blog
L
LINUX DO - 最新话题
S
Security @ Cisco Blogs
S
Secure Thoughts
Spread Privacy
Spread Privacy
有赞技术团队
有赞技术团队
The Last Watchdog
The Last Watchdog
Project Zero
Project Zero
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
H
Hacker News: Front Page
S
SegmentFault 最新的问题
Schneier on Security
Schneier on Security
aimingoo的专栏
aimingoo的专栏
P
Privacy & Cybersecurity Law Blog
博客园 - 三生石上(FineUI控件)
Forbes - Security
Forbes - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
InfoQ
T
Tailwind CSS Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
GRAHAM CLULEY
W
WeLiveSecurity
小众软件
小众软件
Recorded Future
Recorded Future
Cyberwarzone
Cyberwarzone
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

博客园 - 杰客

一个关于pynoi游戏的C语言编程 大型网站架构 大型网站架构不得不考虑的10个问题 程序员自我培养 什么是SOA 用Date.ToString()输出中英文月份 - 杰客 - 博客园 深入浅出理解索引结构 学习正则表达式 SQL Server 2000和2005通用分页存储过程 SQL里类似SPLIT的分割字符串函数 趣味智力题 程序员为什么单身?细数程序员"六宗罪"(摘抄) 存储过程的一些小技巧 Hello NHibernate ASP.NET中的常用正则表达式 c#2.0 System.Net.Mail 发送email ASP.NET2.0中配置文件的加密与解密(转载) (原创)整合 PayPal、VeriSign、Authorize.NET 在线支付 ASP.NET 2.0(C#)中System.Web.Caching的应用
让VS 2008支持Subversion(转)
杰客 · 2008-01-14 · via 博客园 - 杰客

Visual Studio 2005 有一个开源的Subversion插件,Ankhsvn  (http://ankhsvn.tigris.org/),安装后,VS 2005中将内置Subversion的支持,可以直接在VS里面提交修改。我经常用它和TortoiseSVN 配合来使用Subversion,十分方便。

可是升级到Visual Studio 2008后,发现Ankhsvn没有集成进来,因为目前的Ankhsvn还不支持VS2008,据说下个版本才会支持VS 2008。

不过这不影响我们在Visual Studio 2008中使用Ankhsvn,我们可以自己动手修改注册表,将Ankhsvn集成进VS 2008。方法很简单。

  1. 运行 regedit
  2. 找到 HKLM\SOFTWARE\Microsoft\VisualStudio\8.0\Addins\Ankh
  3. 右键点击它,选择导出,并指定一个文件保存。
  4. 用记事本或者其他文本编辑器打开这个文件,将其中的VisualStudio\8.0替换为VisualStudio\9.0
  5. 最后,双击这个修改后的注册表文件,提示是否导入进系统注册表,选择是。

再次打开Visual Studio 2008后,就会发现Ankhsvn已经集成进系统了。

为了方便操作,我写了一个vbscript脚本来进行上述操作。使用很简单,将下面的脚本保存到一个文本文件,命名为ankh.vbs,然后双击该文件即可运行。运行后,重新打开Visual Studio 2008,就会发现Ankhsv已经集成进来了。

顺便再推荐几个常用的免费的插件:

[FREE VISUAL STUDIO ADD-INS]
http://searchwindevelopment.techtarget.com/originalContent/0,289142,sid8_gci1262570,00.html

需要提醒的是,注册表操作不慎可能会导致系统崩溃,因此请谨慎修改注册表。

Dim shell, filename, fso, file, content
Set shell = CreateObject("wscript.shell")
Set fso = CreateObject("Scripting.FileSystemObject")
filename 
= "ankh.reg"

shell.run 
"reg export HKLM\SOFTWARE\Microsoft\VisualStudio\8.0\Addins\Ankh " & filename, 1True

Set file = fso.OpenTextFile(filename, 1FalseTrue)
content 
= file.ReadAll
content 
= Replace(content, "VisualStudio\8.0""VisualStudio\9.0")
content 
= Replace(content, ".NET 2005"".NET 2008")
file.Close()

Set file = fso.OpenTextFile(filename, 2True)
file.Write content
file.Close()

shell.run 
"reg import " & filename, 1true

fso.DeleteFile filename

Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1923853