TFS - “Could not find part of path” error [duplica

2019-06-15 08:05发布

问题:

This question already has an answer here:

  • TFS checkin error - could not find file 5 answers

I'm getting this error after completely re-organizing the project's folder structure. I'm guessing there's a lot. I get this error when trying to check in or promote the changes.

回答1:

The error you have is mainly caused when you're trying to check in files which is no longer exist on the machine.

To resolve it, go to Source Control Explorer -> select these missing files -> Undo Pending Changes. Or you can just left these files in the Excluded Changes list to not checking them.