R – Solution explorer not showing files, not because the show/all files button

solution-explorer, tfs, visual-studio-2008

I have a solution checked into TFS. Looking in the source control explorer I have a .cs file in the solution. But looking in the solution explorer it's missing.

When the project is built it takes the file into consideration and it's code is included in the build.

A collegue of mine has successfully pulled the code from TFS and built it and everything appears as expected.

Any ideas?

Best Solution

Had the same problem. What I did was, keeping the solution/projects open. Went to windows explorer, deleted all the files of that project which was not showing the files. Then from TFS, got all the files for that project. Then was prompted to reload the project, and voila - the files showed up. Not sure why this happened though.