views:

379

answers:

3

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?

A: 

I'm guessing the .cs file is missing from disk, or you have a stale copy of the .csproj file, or something along those lines. Use the Folder Diff tool to see what's going on. 'tf folderdiff', or rightclick -> Compare on a folder in Source Control Explorer.

Richard Berg
I'll give that a try and get back to you.
RubbleFord
Tried comparing the files and it's all ok, deleted solution from machine and then got the latest version from TFS and same issue. Pulled on another machine and everything is correct so pretty sure there's nothing wrong with the source control repository. One thing to mention is that the project in question is a test project.
RubbleFord
A: 

Only a full reinstall fixed the issue.

RubbleFord
Did you try deleting your TFS workspace and re-Getting?
Dan Puzey
Sure did, to no joy.
RubbleFord
A: 

I have the same problem, checked-in items are downloaded when I do a get latest, but they don't show in my solution explorer window..

Did you reinstall TFS only of VSS also?

MA

Martin
We reinstalled the whole lot in the end, to be sure.
RubbleFord