At the moment I’m using TFS (or is it TFVC?) for version control. For anyone who remembers Visual SourceSafe it looks like a significantly updated version of that. There are a few quirks to it that have caught me out so I thought I would start documenting them here in case it helps anyone else.
Could not find a part of the path during Check In
For me this manifested itself on a project that I updated the .NET framework version for. As part of that I updated some nuget packages. I checked the packages folder and there was no sign of the package version concerned but there was a newer version. Searching the whole solution didn’t pick up any references to this version either. I then tried a NuGet restore to no avail.
As I mentioned, the only version of this package I could find was a newer one. In this case I had updated a number of packages but this was the only one complaining. It turns out that the answer to the issue was remarkably simple, In team explorer I just excluded the package version concerned and then was able to Check In as normal. Why other packages were unaffected I have no idea, so I’m expecting this to happen again one day.