How to reduce the number of items in the TFS workspace
Some options:
- Change your workspace mappings to pull down fewer files. (Either map fewer things into your workspace to start with or set up what is known as cloaking for the parts of the workspace that you are not using.) This may not be an option if the project simply contains a lot of files and they're all required.
- Change your workspace type to a Server workspace
- Ignore the warning -- it's a warning, not an error. It's only a problem if performance is unacceptable.
This is the only way I've found to reduce the number of "local workspace" items. If I just delete the items on my local machine, TFS never knows this, and the "local workspace" number never goes down.
The answer is, if you do a "Get Specific Version..." on the files [in Source Control Explorer], and select Changeset 1, the files will be deleted locally and the server will know this. The color of the file in the Source Control explorer will go from black to gray and will have the phrase "Not downloaded" in the latest column.
Source