<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>paulbouwer.com &#187; Visual Studio</title>
	<atom:link href="http://blog.paulbouwer.com/tag/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paulbouwer.com</link>
	<description>life and technology</description>
	<lastBuildDate>Sun, 18 Dec 2011 06:00:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.paulbouwer.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>paulbouwer.com &#187; Visual Studio</title>
		<link>http://blog.paulbouwer.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.paulbouwer.com/osd.xml" title="paulbouwer.com" />
	<atom:link rel='hub' href='http://blog.paulbouwer.com/?pushpress=hub'/>
		<item>
		<title>Replace diff/merge tool in Visual Studio Team System with WinMerge</title>
		<link>http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/</link>
		<comments>http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 07:22:00 +0000</pubDate>
		<dc:creator>Paul Bouwer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://paulbouwer.wordpress.com/?p=125</guid>
		<description><![CDATA[I have been using Visual Studio Team System 2008 for a while now and am really starting to like the tightly integrated source control and work item functionality. One thing I cannot get used to is the basic diff/merge tool. &#8230; <a href="http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.paulbouwer.com&amp;blog=2559614&amp;post=125&amp;subd=paulbouwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been using <a title="Visual Studio Team System" href="http://msdn.microsoft.com/en-us/teamsystem/default.aspx" target="_blank">Visual Studio Team System 2008</a> for a while now and am really starting to like the tightly integrated source control and work item functionality. One thing I cannot get used to is the <strong>basic</strong> diff/merge tool.</p>
<h4>Where is the detail ?</h4>
<p>The screenshot below demonstrates the basic nature of the diff tool built into Visual Studio Team System. There is no indication of the number of differences between the files being diff’ed or even the actual differences on a particular line …<img style="display:inline;" title="Visual Studio Team System Default Diff Tool" border="0" alt="Visual Studio Team System Default Diff Tool" src="http://paulbouwer.files.wordpress.com/2010/01/tfsdefaultdifftool.png?w=550&#038;h=371" width="550" height="371" /></p>
<h4>WinMerge</h4>
<p>There is an alternative and it is both open source and free ! From the <a title="WinMerge" href="http://winmerge.org" target="_blank">WinMerge</a> site:</p>
<blockquote><p>WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.</p>
</blockquote>
<p>Download <a title="WinMerge downloads" href="http://winmerge.org/downloads/" target="_blank">WinMerge</a> and install it.</p>
<h4>Configure Visual Studio</h4>
<p>Open <strong>Source Control &gt; Visual Studio Team Foundation</strong> under the<strong> Tools &gt; Options</strong> menu in Visual Studio.</p>
<p><img style="display:inline;" title="Tools &gt; Options &gt; Source Control &gt; Visual Studio Team Foundation" border="0" alt="Tools &gt; Options &gt; Source Control &gt; Visual Studio Team Foundation" src="http://paulbouwer.files.wordpress.com/2010/01/difftool1.png?w=500&#038;h=310" width="500" height="310" /></p>
<p>Click on <strong>Configure User Tools … </strong>and the Configure User Tools dialog will become available.</p>
<p><img style="display:inline;" title="Configure User Tools ..." border="0" alt="Configure User Tools ..." src="http://paulbouwer.files.wordpress.com/2010/01/difftool2.png?w=300&#038;h=193" width="300" height="193" /></p>
<p>Add the WinMerge details for the Compare Tool. Click on the<strong> Add …</strong> button on the <strong>Configure User Tools</strong> dialog and configure as per the screenshot below. The arrow button next to the arguments text box exposes details about the information that Visual Studio can provide the tool being configured.</p>
<p>The configured arguments below are:<br />
<code class="instructions">/e /u /wl /wr /dl %6 /dr %7 %1 %2</code>
</p>
<p><img style="display:inline;" title="Configure Tool for Compare Operation" border="0" alt="Configure Tool for Compare Operation" src="http://paulbouwer.files.wordpress.com/2010/01/difftool3a.png?w=400&#038;h=250" width="400" height="250" /></p>
<p>Add the WinMerge details for the Merge Tool. Click on the<strong> Add …</strong> button on the <strong>Configure User Tools</strong> dialog and configure as per the screenshot below. The arrow button next to the arguments text box exposes details about the information that Visual Studio can provide the tool being configured.</p>
<p>The configured arguments below are:<br />
<code class="instructions">/e /u /wl /dl %6 /dr %7 %1 %2 %4</code>
</p>
<p><img style="display:inline;" title="Configure Tool for Merge Operation" border="0" alt="Configure Tool for Merge Operation" src="http://paulbouwer.files.wordpress.com/2010/01/difftool4a.png?w=400&#038;h=255" width="400" height="255" /></p>
<p>The Compare and Merge Operations should now be configured to use WinMerge.</p>
<p><img style="display:inline;" title="Configured User Tools" border="0" alt="Configured User Tools" src="http://paulbouwer.files.wordpress.com/2010/01/difftool5.png?w=320&#038;h=213" width="320" height="213" /> </p>
<h4>WinMerge Command Line Options</h4>
<p>WinMerge contains a number of <a title="WinMerge Command Line Options" href="http://winmerge.org/docs/manual/Command_line.html" target="_blank">command line options</a>. The following are the ones used in the configuration above.</p>
<table cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td width="20"><strong>/e</strong></td>
<td>Enables WinMerge to be closed with a single Esc key press.</td>
</tr>
<tr>
<td><strong>/u</strong></td>
<td>Prevents WinMerge from adding either the left or right hand side&#160; file path to the Most Recently Used (MRU) list.</td>
</tr>
<tr>
<td><strong>/wl</strong></td>
<td>Opens left hand side as read-only.</td>
</tr>
<tr>
<td><strong>/wr</strong></td>
<td>Opens right hand side as read-only.</td>
</tr>
<tr>
<td><strong>/dl</strong></td>
<td>Description for left hand side title bar.</td>
</tr>
<tr>
<td><strong>/dr</strong></td>
<td>Description for right hand side title bar.</td>
</tr>
</tbody>
</table>
<h4>Finally a decent diff !</h4>
<p>Now a Compare in Visual Studio is more meaningful, It shows the number of differences, their positions within the compared files and actual differences per line. WinMerge supports custom syntax colouring and diff colouring.</p>
<p><a href="http://paulbouwer.files.wordpress.com/2010/01/tfswinmergedifftool.png"><img style="display:inline;" title="Visual Studio Team System with WinMerge" border="0" alt="Visual Studio Team System with WinMerge" src="http://paulbouwer.files.wordpress.com/2010/01/tfswinmergedifftool_thumb.png?w=550&#038;h=362" width="550" height="362" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paulbouwer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paulbouwer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/paulbouwer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/paulbouwer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paulbouwer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paulbouwer.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paulbouwer.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paulbouwer.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.paulbouwer.com&amp;blog=2559614&amp;post=125&amp;subd=paulbouwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d10d9b0050c6976242bfadb414ca791?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulbouwer</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/tfsdefaultdifftool.png" medium="image">
			<media:title type="html">Visual Studio Team System Default Diff Tool</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/difftool1.png" medium="image">
			<media:title type="html">Tools &#62; Options &#62; Source Control &#62; Visual Studio Team Foundation</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/difftool2.png" medium="image">
			<media:title type="html">Configure User Tools ...</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/difftool3a.png" medium="image">
			<media:title type="html">Configure Tool for Compare Operation</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/difftool4a.png" medium="image">
			<media:title type="html">Configure Tool for Merge Operation</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/difftool5.png" medium="image">
			<media:title type="html">Configured User Tools</media:title>
		</media:content>

		<media:content url="http://paulbouwer.files.wordpress.com/2010/01/tfswinmergedifftool_thumb.png" medium="image">
			<media:title type="html">Visual Studio Team System with WinMerge</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick Guide: Replace diff/merge tool in Visual Studio Team System with WinMerge</title>
		<link>http://blog.paulbouwer.com/2010/01/31/quick-guide-replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/</link>
		<comments>http://blog.paulbouwer.com/2010/01/31/quick-guide-replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 05:24:07 +0000</pubDate>
		<dc:creator>Paul Bouwer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Quick Guide]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://paulbouwer.wordpress.com/?p=109</guid>
		<description><![CDATA[I have been using Visual Studio Team System 2008 for a while now and am really starting to like the tightly integrated source control and work item functionality. One thing I cannot get used to is the basic diff/merge tool. &#8230; <a href="http://blog.paulbouwer.com/2010/01/31/quick-guide-replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.paulbouwer.com&amp;blog=2559614&amp;post=109&amp;subd=paulbouwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been using <a title="Visual Studio Team System" href="http://msdn.microsoft.com/en-us/teamsystem/default.aspx" target="_blank">Visual Studio Team System 2008</a> for a while now and am really starting to like the tightly integrated source control and work item functionality. One thing I cannot get used to is the <strong>basic</strong> diff/merge tool.</p>
<h4>Quick Guide</h4>
<p>This quick guide offers a <em>no frills/get things done</em> approach to replacing the diff/merge tool in Visual Studio Team System with WinMerge. There is a <a title="Detailed Guide" href="/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/" target="_blank">detailed guide</a> for those that want to have a little more detail.</p>
<h4>Quick Steps</h4>
<ol>
<li>Download and install <a title="WinMerge" href="http://winmerge.org/" target="_blank">WinMerge</a>.</li>
<li>Open the Configure User Tools dialog for Team Foundation based source control in Visual Studio.      <code class="instructions">Tools &gt; Options &gt; Source Control &gt; Visual Studio Team Foundation &gt; Configure User Tools</code></li>
<li>Add the details for the Compare (diff) Tool by clicking on the <strong>Add…</strong> button.       <code class="instructions">Extension: .*</code> <code class="instructions">Operation: Compare </code> <code class="instructions">Command: C:\Program Files\WinMerge\WinMergeU.exe </code> <code class="instructions">Arguments: /e /u /wl /wr /dl %6 /dr %7 %1 %2 </code></li>
<li>Add the details for the Merge Tool by clicking on the <strong>Add…</strong> button.       <code class="instructions">Extension: .*</code> <code class="instructions">Operation: Merge</code> <code class="instructions">Command: C:\Program Files\WinMerge\WinMergeU.exe </code> <code class="instructions">Arguments: /e /u /wl /dl %6 /dr %7 %1 %2 %4 </code></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/paulbouwer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/paulbouwer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/paulbouwer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/paulbouwer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/paulbouwer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/paulbouwer.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/paulbouwer.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/paulbouwer.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.paulbouwer.com&amp;blog=2559614&amp;post=109&amp;subd=paulbouwer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.paulbouwer.com/2010/01/31/quick-guide-replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d10d9b0050c6976242bfadb414ca791?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">paulbouwer</media:title>
		</media:content>
	</item>
	</channel>
</rss>
