A personal repository of technical notes. - CSC

Team Foundation Server Compare Ignore Whitespace

Problem

Need to get TFS Compare to ignore whitespace

Solution

Select menu item Tools/Options/Visual Studio Team Foundation Server.
Click button Configure User Tools...
Click Add
Extension = .*
Operation = Compare
Command = C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\diffmerge.exe
Arguments = %1 %2 %6 %7 %5 /ignorespace

See command line help with:
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\diffmerge.exe" /?

References

"JB Brown: Whitespace in Team System Compare Results - TeamReview, Visual Studio Team System, and Lean." JB Brown - TeamReview, Visual Studio Team System, and Lean. Web. 21 June 2011.
<http://www.controlstatements.com/2009/03/whitesapce-in-team-system-compare.html>.

"Difference Command." MSDN Explore Desktop, Web, Cloud, and Phone Software Development. Web. 21 June 2011.
<http://msdn.microsoft.com/en-us/library/6fd7dc73(VS.80).aspx>.

No comments:

Post a Comment