How can I update the outdated Team Foundation Server file status icon in Visual Studio 2010?
In visual studio 2010, under solution explorer the source control icons by the files denote that the file is currently checked out. However if I look at the file in the source control explorer it ap开发者_JAVA百科pears not to be checked out. I have tried the "refresh" button in solution explorer as well as "get latest version...". Neither update the status icon by the file. Thanks in advance.
Try the 'Refresh Status' command available on the File > Source Control menu. This command is also available on the 'Source Control - Team Foundation' toolbar if you have it showing.
Is it possible that the file is checked out under another workspace? If the Source Control Explorer (SCE), look in the "User" column for one of the files that appear checked out. Does a user name (with a workspace name in parenthese) appear? If so, then that user has the file checked out within the workspace listed.
In Visual Studio 2008 there was an issue with shelvesets: http://blogs.infosupport.com/blogs/marcelv/archive/2007/12/03/Team-Foundation-Server-2008-shows-incorrect-version-control-status-in-team-explorer-.aspx
Could this be the case for you too?
精彩评论