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:
- First you need to install TFS Power Tools
- In VS go into Tools - External Tools and click Add
- 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)
- And check 'Use Output Window'
- 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