Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T.
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 Posted on Thursday, January 22, 2009 3:31 PM C# .NET , ASP.NET , Half Baked , Dev Env, TFS, MSBuild etc | Back to top


Comments on this post: Script to remove unchanged files in TFS/VS2008

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Thanks Smith for very good information.
Left by Robert on Jan 31, 2009 12:44 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
I tried to install TFS Power Tools but its not getting open.... any problem???
Left by Liyana on Jan 31, 2009 12:50 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Great tip, thanks
Left by Craig Lebowitz on Apr 07, 2009 5:03 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
You have done a Great job, keep doing more work like this ! Thanks.
Left by houston website design on Jan 16, 2011 12:37 PM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Awesome post!!! Really enjoyed this post. But I want more information on such valuable topic . If you don’t could you please post more articles, So that I’ll tell my friend circle to read your blog because you are great writer. Thanks man!
Left by squidoo lens creation service on Jan 25, 2011 8:19 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Awesome post!!! Really enjoyed this post. But I want more information on such valuable topic .
Left by annuaire pages blanches on Feb 17, 2011 7:11 PM

# Ms
Requesting Gravatar...
I want to say that it’s really a good post for us to learn so many new things.
Left by Franchises For Sale on Feb 21, 2011 11:20 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Awesome post!!! Really enjoyed this post.
Left by free drawing software on Apr 04, 2011 2:49 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
great post thanks for sharing
Left by irfan ahmed on Aug 04, 2011 2:38 PM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Great info ..thanks ...you save my time
Left by website design on Aug 04, 2011 5:38 PM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
thanks for the advicce, will have to try it out!
Left by franchise opportunities on Sep 14, 2011 10:33 AM

# Android app developers
Requesting Gravatar...
Its a good blog and i anticipate best of internet users are brand your information, so please create more blogs like this, because its good benefit for those peoples.
Left by Android app developer on Nov 24, 2011 1:27 AM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
Thank's for this tip about TFS/VS2008. Good luck for your website, feel free to add on the directory.
Left by El-annuaire on Dec 04, 2011 5:04 PM

# re: Script to remove unchanged files in TFS/VS2008
Requesting Gravatar...
You're able to you should listen directly Convey tunes using installed sole quickly exploring the exact game titles. You can generate a persons playlist as well as join a good number of Air port audio on your playlist 100 % cost-free.
Left by Nandroid Backup on Apr 10, 2012 4:49 PM

Your comment:
 (will show your gravatar)


Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net