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>.

How to Install Microsoft Free Virus Software

  1. Download Microsoft Security Essentials installation file to your desktop
    Virus, Spyware & Malware Protection | Microsoft Security Essentials
    http://www.microsoft.com/en-us/security_essentials/default.aspx
  2. Disconnect from the internet because you will be unprotected for a few minutes. Unplug from the cable modem, etc.
  3. Uninstall virus/security software that is currently on your computer.
    If you need help figuring out how to uninstall, connect back up to the internet, go to this page and print it off, then disonnect again:
    How do I uninstall antivirus or antispyware programs?
    http://www.microsoft.com/en-us/security_essentials/Support/4cae1455-6ead-493c-b5d8-7c88f39c0656.aspx
  4. Install Microsoft Security Essentials from your desktop installation file.
  5. Make sure Windows firewall is turned on in case the old security software included a firewall.
    Understanding Windows Firewall settings
    http://windows.microsoft.com/en-US/windows7/Understanding-Windows-Firewall-settings
  6. Reconnect to the internet and allow Microsoft Security Essentials to update itself.