I recently ran into an issue where, when I opened up one of my Solutions which were under TFS Source Control, I was presented with a message box which showed;
The solution you have opened is under source control but not currently configured for integrated source control in Visual Studio. Would you like to bind this solution to source control now?
Turns out that this is Visual Studio’s way of telling me that parts or all of my solution isn’t bound correctly to the source control provider.
To rectify this issue I needed to;
- Open the Project directly using Visual Studio, rather than with the Source Control Explorer
- Goto File ->Source Control –>Advanced –> Change Source Control
This will open up the “Change Source Control” dialog, which shows which items in your solution are bound and which aren’t.
From here you simply need to select which Items need to rebound and hit the “Bind” button.
Visual Studio will then checkout the unbound items, and you then need to check them back in, and your done.
Thanks, Pete! This popped up for me when I unshelved some code. It was a confusing message and your fix worked perfectly.
ReplyDelete