- Open a Visual Studio command prompt
- Type the following: tf undo /workspace:OtherUserWorkSpace;OtherUser $/Project/ItemName.cs
Replace 'OtherUserWorkspace' with the workspace name where the file is checked out (i.e. the user's computer name)
Replace 'OtherUser' with the username that has checked out the file
Replace '$/Project/ItemName.cs' with the full path (including all namespaces) with the file that needs to be undone
Example:
tf undo /workspace:WRK0130-PC;rbobby $/MISV2/www/Web.config.
You'll get an error such as the following when you first attempt to access the file:
No comments:
Post a Comment