Taking a break from my India-related postings…
I must say, my experience over the past month working with Team Foundation Server has left an awful taste in my mouth. From licensing to migration issues, it’s very evident that TFS is a version 1.0 product.
In lieu of such issues, we recently had to put together a stop-gap solution to provide access to our TFS environment whilst trying to migrate to new hardware. As part of this solution, we had to remap Workspaces on each client machine (which were a pain-in-the-ass to find in the first place.) This may not seem like a big deal, but trying to communicate such an activity to 25 non-technical folks who are also using TFS (i.e. Business Analysts, UI Designers, PMO types) can prove to be quite challenging.
Fortunately, the Team Foundation Source Control command-line client came through to the rescue. Using the following command, you can wipe out Workspace cache:
tf.exe workspaces /remove:*
Package this up in a nice little batch script and viola! Note that this command deletes ALL cached workspaces for the user, so be careful (this is the behavior we were after.)
Sorry for the rant, but I had to vent somewhere!