'My edited files not appear in TFS's Pending Changes window

I am using VS2010's TFS and have this problem: after 'Get latest version', and try to edit the file, it does not appear in Pending Changes window. I have to use the option 'Check out to Edit' for every files I want to change. It makes me missing some files when working with a big project. Any one have idea to fix this?



Solution 1:[1]

Go to File -> Source Control -> Go Online and it will fix this problem.

Solution 2:[2]

I didn't see File -> Source Control -> Go Online option. I fixed it by clicking on item and selecting option to check out for edit. That worked.

Solution 3:[3]

Did you already opened the project that you are working on through the Source control window? If you do that and your solution is not yet bound to TFS it will be asked now. So bind your solution and projects and then your changes will be visible and you do not need to do check out to edit. You can also see if this is already done by checking if there are vssscc files next to your solution files.

Solution 4:[4]

Had the same issue after a connection problem - this caused VS/TFS to think I had nothing checked out. The solution was just to refresh the status via File, Source Control, Advanced, Refresh Status.

Solution 5:[5]

Restart Visual Studio and all could be well!

Solution 6:[6]

Go to Solution Explorer > Right click on solution > Click "Go Online"

Solution 7:[7]

For me, in the context menu of the solution I had an option to 'Add this solution to source control...'. If you also have this option you should go and add it again. You can keep same location and Ignore All warnings.

For me only after doing this it started seeing the file changes again.

My solution was also online and apparently nothing else was wrong...

Solution 8:[8]

Our TFS had errors so after I got it back it only saw new userControls added not edited ones, this is how I fixed it:

RightClick -> Add Files To Source Control -> Keep Local Version (or server)

It had lost it's connection to the folder

Solution 9:[9]

I had the same issue with Visual Studio 2022. Go to the File > Source Control > Go online was solved my issue.

Solution 10:[10]

Had the same problem in VS2012, none of the answers above worked.

Fixed by opening "Go to All Changes" and including all missing files from there.

If I exclude any of these again, they do not appear under "Excluded changes", and have to be manually included from "Go to All Changes".

Solution 11:[11]

For VS 2017, if you have the red checkmarks next to your files,

  1. open Team Explorer box/window -> Pending Changes,
  2. select your files in Included Changes, provide comment
  3. click on Check In button

Solution 12:[12]

In excluded changes, click on 'detected' and you will get a dialog box with all detected changes but not added to source control. Choose the changes u want to check in and then click on promote. You will be able to see the changes in the included section and you can check in.

Solution 13:[13]

For me was only solution making new workspace with shorter path without special chars. So I didnt use folders like users and stuff but ProgramFiles. Maybe it was because of Win 7.

And run VS as admin for making directories in ProgramFiles

Solution 14:[14]

VS2019 Check that all projects are bound there:

enter image description here

Solution 15:[15]

Manage Workspaces -> Edit (the workspace you are using)-> Advanced -> Change Location item from "Server" to "Local". This solve my issue

Solution 16:[16]

Pls check the mapping in source control. Open Team explorer -> Source Control Explorer Check the Local Path mapping.. if it is not appropriate, map it again with correct path.