web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Shared workspace in TFS2010

Martin Dráb Profile Picture Martin Dráb 235,961 Most Valuable Professional

Team Foundation Server workspace (creating a working copy of a part of TFS repository) can be by default used by a single user only – by its owner. A problem occurs, for instance, if DynamicsAX is installed (including a connection to TFS) by an administrator account and other user (users) then uses this environment. Dynamics AX shows the following error message to the other users when it starts:

Team foundation server error
The working folder {path} is already in use by the workspace {workspace name} on computer {computer name}.

Team Foundation Server 2010 (but not its lower versions) allows to easily solve this problem by declaring a workspace public. Then other users can either perform all actions just as the owner (Public workspace) or they can use the workspace without a possibility to change the configuration or perform check-in (Public workspace (limited)).

This setting is defined in Edit Workspace dialog:

Edit Workspace dialog can be run from Source Control Explorer:

  • from Workspace combo box choose Workspaces…
  • select a workspace and press Edit

or it can be started from command line. For example:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE>tf workspace MyWorkspace123


This was originally posted here.

Comments

*This post is locked for comments