Tim
Tim

Reputation: 1483

When removing file from version control, how can it also be deleted from my local working directory?

When I delete a file from TFS version control and "check-in" the change, the file still exists in my local working directory.

Is there a way I can get TFS or Visual Studio to clean-up after itself without having to manually deleting the files myself or changing my workspace to a different directory?

Cheers.

Upvotes: 0

Views: 98

Answers (1)

Daniel Morritt
Daniel Morritt

Reputation: 1817

If I delete a file in TFS (2010), it deletes it straight away from my local drive (TFS shows a delete pending change), if I undo my pending change in TFS then the file reappears.

Are you deleting the file through the Solution Explorer or Team Explorer?

Upvotes: 1

Related Questions