3
votes

I have a team project that I was working on, but today I opened Visual Studio 2013 (update 2) and my solution, just to see that TFS options (check in, get latest menu options, along with the lock and + signs next to files) are gone. The solution is just like a local solution. I haven't done anything. When I go to team options, I can see that it is mapped to the correct path and I'm on the correct workspace. I've removed the mapping, deleted the solution locally (I didn't have any pending changes) and remapped the solution from TFS. Got the latest version but still no mapping in solution explorer. Restarted Visual Studio many times (obviously), but no avail. I can get the latest from team explorer though. What could be the cause and how can I solve this problem?

4

4 Answers

5
votes

You need to open "File | Source Control | Change Bindings". If the files are in the correct folder you should see a bunch of red squiggles under the mappings.

  1. Unbind all of the projects and the solution
  2. Rebind all of the projects and the solution

That should solve the issue.

2
votes

You might have lost the solution bindings Try to re bind to source control. Also check you are in the correct workspace in both places and that you are correctly mapped.

1
votes

Your top source location is mapped into your local folder, check that and remove if that is mapped to the local folder.

Right Click -> Advanced -> Remove Mapping
0
votes

I ended up going to Control Panel -> User Accounts -> Credential Manager and removing several references to a service account that some how became associated with my work space over the weekend. No idea why that happened but removing those associations and restarting visual studio resolved the issue.

The issues I experienced because of this issue are:

  • "Out of memory" alert when launching an existing solution that has always worked just fine.
  • When "getting latest" on a solution, I would receive an error about our service account not having sufficient permissions to perform the action on my own work space.