Jonathan Hansen
Jonathan Hansen

Reputation: 443

How to change the Visual Studio 2019 Workspace to a new domain name account

Sorry if this is worded incorrectly, but here goes. The company I work at, added a brand new domain server, taking the old one offline, effectively changing domains from CompanyName/username, to CompanyNamePro/username. So for me, my existing TFS's WorkSpace was setup for CompanyName/username. Well, that is gone now. So when I attempt to edit my WorkSpace to the new CompanyNamePro/username, TFS shows me my old CompanyName/username as already using that Workspace. HOW do I change that? (even if the change involves manually changing a file somewhere) (i had code still checked out when the domain server changed)

I have tried a few things:

  1. Copying the mapped folder to another folder, then mapping to it, but it didn't work correctly.
  2. Tried creating a brand new folder, then mapping to that. This works, but upon Getting Specific in TFS, it insists that I already have all the code...even though my folder is blank.

I'd much rather somehow change the existing domain mapping to my old huge source code folder. Somebody must know how to do this.

Thanks

Upvotes: 0

Views: 2346

Answers (1)

Kevin Lu-MSFT
Kevin Lu-MSFT

Reputation: 35564

You can try to remove the old workspace mapping for the folder. Then you could map the new workspace to the folder again.

Here are the steps

  1. Open Team Explore -> Source Control Explorer.

  2. Select the Old workspace.

WorkSpcae

3.Right Click the Project and select Advanced -> Remove Mapping...

Remove

Then the folder mapping of the old Workspace will be removed. You could map the same folder to the new WorkSpace again.

Hope this helps.

Upvotes: 1

Related Questions