Reputation: 632
I use VS 2013 to check-in a file to TFS 2012 and get the following error:
The item $/MyTeamProject/MyProject/MyInterface/IAllocationBLL.cs does not exist at the specified version, or you do not have permission to access it.
Other files just work fine. I notice that the Last Check-in
date is missing.
If I undo this file, it then disappears on TFS. When I edit this file again, it back to TFS and still missing Last Check-in
. I still get the same error checking in this file. Any advice would be appreciated.
Upvotes: 6
Views: 8305
Reputation: 123
I received this error with Visual Studio 2019 and was able to resolve it by:
Upvotes: 0
Reputation: 21
I had same/similar issue today. Didn't found proper (or easy) solution online, and here is my workaround:
VOILA - your file is under source control again.
Upvotes: 2
Reputation: 797
The best method is to save the file as a backup outside, and undo it, check in the whole project, then add the file to the project again.
Upvotes: 6