3
votes

When I delete a file in the file system, TFS 2013 will correctly show it as still being in version control, but the file will not show as pending delete, and committing changes does not remove the file from the server. If I go to Source Code Explorer, the deleted file shows up as being on the server, but if I try to delete it, I get an error saying The item could not be found in your workspace, which is also correct, but I need to delete the file and I can't find any way to do it. I really do NOT want to have to download each file and manually delete it.

So, how can I get TFS to detect files that are no longer on the local file system and remove them from the server?

Note, my workspace is local, not server. Many sources say that TFS should detect local deletes in a local workspace, but this does not seem to be true, at least, it's not what I'm seeing.

Update: I know that my workspace is local because here's the TFS Workspaces window: enter image description here

2

2 Answers

0
votes

If the changes are not being detected then your workspace is currently configured as a Server Workspace and not a Local Workspace.

If you edit your workspace, click Advanced, and switch the workspace type to Local.

Note: You can check the configuration by looking for the hidden $tf folder in the root of your workspace...