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

推荐订阅源

博客园_首页
博客园 - 【当耐特】
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
D
Docker
T
The Blog of Author Tim Ferriss
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
罗磊的独立博客
小众软件
小众软件
A
About on SuperTechFans
MyScale Blog
MyScale Blog
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
C
Check Point Blog
L
LangChain Blog

博客园 - 黃偉榮

Web Project的檔案共用小技巧 IoC的中繼器:CommonServiceLocator UTF8Encoding與BOM Temporary Post Used For Theme Detection (d4b0aefa-c88e-4957-bba7-b367d1bfa042 - 3bfe001a-32de-4114-a6b4-4005b770f6d7) 寫CodedUI時如何尋找控制項的小技巧 Visual Studio 2010 Feature Packs 2之Silverlight自動化測試 Moles - Isolation framework for .NET(假.Net)介紹 [小技巧]Entity Framework強型別Include C#仿Oracle Decode,將ValueType對應成String - 黃偉榮 - 博客园 Visual Studio 單元測試的3種Initialize與Cleanup jQuery套件-檢查頁面的欄位是否有變更 用EventLogReader查詢特殊EventLog jQuery自製Plugin-Bind事件函式時檢查有沒有Bind過 ASP.NET MVC TempData使用心得 [小技巧]自動化測試時NLog的訊息輸出到測試結果中 小技巧:專案切換32與64位元組件 Linq小技巧:日期處理 Unit Test小技巧 : DateTime的Stub 解決TFS Build Asp.Net Mvc開啟MvcBuildViews後無法載入組件問題
Visual Stuiod 自訂檔案比較合并工具
黃偉榮 · 2010-10-02 · via 博客园 - 黃偉榮

因為我比較習慣WinMerge這套工具,改用TFS作為版本管理時,有點不適應內建的陽春工具,花了些時間找如何設定,以下是設定的方式。

開啟設定

  1. 開啟Visual Studio
  2. 選單上,Tools > Options,開啟Options視窗
  3. 在Options視窗中,Source Control > Visual Studio Team Foundation Server
  4. 選擇Configure User Tools

image

圖1 Options視窗

新增比較設定

Extension: *
Operation: Compare
Command: C:\Program Files\WinMerge\WinMergeU.exe (或其他位址)
Arguments: /x /e /s /ub /wl /dl %6 /dr %7 %1 %2(用預設的%1 %2也可以,只是多了其他設定,在如相同的比較,按下確定鍵後會自動關閉等好處)

 image

圖2 比較設定

新增合并設定

Extension: *
Operation: Merge
Command: C:\Program Files\WinMerge\WinMergeU.exe (或其他位址)
Arguments: /x /e /s /ub /dl %6 /dr %7 %1 %2 %4

image

圖3 合并設定

Note:

合并的功能,整合的不是很好,而且少了自動合并,後來又改回用內建的合并工具了。

參考文件