How To: Remove Workspaces from Visual Studio
I usually work using Team Foundation Systems over VPN. And sometimes my VPN access is revoked because I no longer work for a particular client, when this happens my Visual Studio Workspaces is stock there, I can’t reuse the same folder. I’ve been looking into this and found a fairly simple solution from Greg.
- Open the Command Line ( Start -> Run -> cmd)
- Go to: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE (or C:\Program Files\Microsoft Visual Studio 8\Common7\IDE for Visual Studio 2005)
- Execute: tf workspaces /remove:workspace
This probably works with Visual Studio 2010, I should update this post whenever I try it!
This entry was posted on Monday, January 25th, 2010 at 12:09 pm and is filed under Developement. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


Kyle Moyer June 13th, 2011 at 10:18 am
Thanks, this set me on the right path. This does work in VS 2010, however the process is slightly different. Opening a generic command prompt resulted in “tf” being an unknown command. However simply running a Visual Studio Command Prompt (which configures your environment so you can easily access all the tools provided with the IDE) you can simply type in the command you listed and it will remove it without issue.