I have a CodePlex project that uses TFS, and I'm using the TFS plugin for Visual Studio. Now I copied this project and worked on another PC without TFS and did some refactoring. Stupidly, I just used copy / paste and manual text editing to merge my changes, expecting TFS to just pick up the changes.
Obviously, this is not so. Here is a screenshot of my local directory:
My local TFS http://img259.imageshack.us/img259/2897/tfslocal.jpg
Please note that in some files there is no lock symbol - they are missing. If you look at the current TFS Tree on Codeplex , there are some files that no longer exist locally, i.e. WikiPlexExtensions.cs in the main folder.
Is there a way to easily tell TFS to compare my local to the remote repository and pick up the changes? I could re-add local files using “Exclude from local project” and re-add them, and I could create “deleted” files as empty files to delete them, but if I can avoid manually messing around with this, it’s good to also :)
source
share