if you get into real trouble with TFS the following steps should almost definitely get you back to a fresh place
- Start -> Programs -> Visual Studio 2005 Tools -> command line
- tf workspaces
- - this will show you your workspace name; probably the same as your machine
- tf workspaces /remove:*
- - this will remove local system cache of TFS
- tf workspace /delete /server:{servername} {workspacename}
- - this will remove from the server
- - it will prompt you to verify - type in y
- tf workspace /new /server:{servername} {newworkspacename}
- - this will launch the GUI to map the server to your local system
- - server = $/
- - local = C:\TFS
- cd C:\TFS
- tf get
- - pull down all the files
This maps the root of the TFS server to C:\TFS, you may of course want it mapped to another location on your drive.
Check out tf command on msdn
No comments:
Post a Comment