Troubleshooting Team Foundation Build Workspace Issues

The following section describes a common troubleshooting scenario you may experience when working with Team Foundation Build workspaces.

Workspace Does Not Exist

The build process creates a workspace to synchronize sources with the build directory. The build process checks the build directory for a pre-existing workspace. If there is one and it is owned by the current account running the build service, the workspace is deleted and a new one created in its place. If the workspace is owned by another user the following error is recorded in the build log file:

Workspace MyWorkspace does not exist. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(276,5): error : The working folder C:\MyData is already in use by another workspace on this computer.

Solution

Change the build directory being used or delete the workspace with the build directory mapping and retry building.

See Also

Other Resources

Administering Team Foundation Build
Troubleshooting Team Foundation Build
Managing Builds with Team Foundation Build