views:

17

answers:

1

In Visual Studio if I add a few files to a project but then decide to undo my pending changes the files are removed from the project but remain on my hard drive. This isn't terrible but is annoying. In Visual Studio is there a way to specify that when a change is undone local files should also be removed?

+1  A: 

I do not know of any way to do this within Visual Studio, however, the Team Foundation Server Power Tools command line utility (TFPT.exe) has a "/scorch" command that you can run that will sync your file system (based on workspaces) back up with version control. So, for example, any items that you've deleted from version control that still remain on your hard drive will be removed.

Jeff Bramwell