Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  153 Posts | 0 Stories | 2415 Comments | 653 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

Thursday, January 22, 2009 #

TFS has a wonderful feature whereby it marks files as changed, even though there are no changes.  These files show up in the Pending Changes window in Visual Studio (VS 2008).

To work around this,  add the following external command to your VS tools:
  1. First you need to install TFS Power Tools
  2. In VS go into Tools - External Tools and click Add
  3. Enter the following details:
    Title: Unchange
    Command: C:\Program Files\Microsoft Team Foundation Server 2008 Power Tools\tfpt.exe
    Arguments: uu /recursive /noget
    Initial Directory: $(SolutionDir)
  4. And check 'Use Output Window'
  5. Click Ok
That's it.  To test, view the Pending Changes window - usually after a 'Get Latest' is when it lists unmodified files as changed - then click Tools  - Unchange.

Thanks to Duncan Smith for this gem of info.

The fact they created a tool for this makes you wonder!

HTH
Tim