VS 2010: Missing Source Control Icons

So I’m working on a project with a number of other developers at present. However every so often when another developer adds files to source control when they are added to my local solution they appear unbound to source control and Visual Studio treats them as though they are not bound to TFS.

Missing_Bindings

Note the missing padlock icons on some files. The files missing the padlock were retrieved on my last Get Latest operation.

To ensure that Visual Studio treats these correctly and enforces source control behaviour you have to refresh the source control connection. Ensure that you select the solution file, to refresh all projects, or just a single project to target the refresh at just that project. Then select File > Source Control > Refresh Status or Alt + F, Alt + R, Alt + T for you keyboard jockeys out there.

Refresh_Status

Lo and behold, padlocks are present and source control behaviour is correct!

Bindings_Present

Advertisements
This entry was posted in Development, TFS, Visual Studio and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s