I have a solution with several projects.
When I do an "Open from source control" everything gets downloaded and works beautifully.
However, if I close the IDE, and then re-open the solution (by just double-clicking the .sln file or doing File > Open Project/Solution... from VS) one (only one) of the projects seems to lose the source control binding.
It's odd because at first you can see the blue padlocks in the IDE, indicating that the files are under source control. However as soon as you look at the files in the Solution explorer, you can actually see the padlocks disappearing.
After that, all the source control options no longer show up on the context menus in the Solution explorer (right-click a file there is no Check Out for Edit, Get Latest Version, etc.).
If I try to check out that project (for example to add a new file) I get a message stating "None of the items in the selection are valid for this operation", even though it is showing the blue padlock in the IDE.
Now, I don't know if it makes any difference, but all the files on that project are inside other directories. So we have something like this:
Code: Select all
Solution
ProjectA
...
ProjectB <-- exhibits the problem
Component\
File1.cs
File2.cs
File3.cs
BusinessEntities\
File4.cs
File5.cs
...
ProjectC
...