Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do all my files have a red check next to them when I "check out latest" for the first time from TFS?

Tags:

tfs

I'm going into TFS and creating a mapping to a local folder, then I right click on the folder I want to check out and click on "Get Latest Version". After I have pulled down all the files I open up the solution in VS and in the Solution Explorer window I see all the files (including the solution and project files) have red check boxes next to them. So now it looks like they all need to be checked in because I have made edits! This is not true, I'm checking these fiels out for the first time and haven't made any changes yet.

How do I check out the folder without it looking like there are already edits that need to be checked in? (no red check next to each file)

like image 639
user1186050 Avatar asked Oct 28 '13 22:10

user1186050


2 Answers

I had a similar problem (red checks next to everything in the Solution Explorer window). I resolved it by selecting the solution in the Solution Explorer, and then selecting from the menu bar: File > Source Control > Refresh Status. This removed all my red checks.

like image 88
Dave Lennert Avatar answered Sep 19 '22 06:09

Dave Lennert


In Team Explorer (in Visual Studio): Tools | Options | Source Control | Visual Studio Team Foundation Server and select Show Deleted Items...

Then in source control explorer you'll see the items greyed out. You can right click on them and Undelete. (This option will only be available if they, after the undelete, will be included in your current workspace).

like image 32
fmut Avatar answered Sep 18 '22 06:09

fmut