How can I switch my signed in user in Visual Studio 2013?
A new feature of Visual Studio 2013 is the ability to sign in with a Microsoft Account and have your settings be persisted across all of your instances of Visual Studio, amongst other things.
When I installed Visual Studio 2013 Preview I signed in with one of several Microsoft Accounts I hold.
I've now installed the RTM version of Visual Studio 2013 (after uninstalling the Preview version) and that has kept my previous user sign in credentials.
I would now like to change these sign in credentials to be a different Microsoft Account but every time I attempt to sign in with the new details I receive a message similar to the following
We were unable to establish the connection because it is configured for user olduser@old.com but you attempted to connect using user newuser@new.com. To connect as a different user perform a switch user operation. To connect with the configured identity just attempt the last operation again.
The problem is I can't find any documentation anywhere on how to perform a "switch user operation". Maybe I'm just not looking hard enough but hopefully someone here can help me out.
There is a comment about this under this answer, but I think it's important to list it here. If you want to preserve your settings, export them first because they will be lost.
From MSDN forums - since I had to hunt around far too much to find the solution to this:
Worked for me.
I was able to fix this by: 1) Sign in as the old user. 2) Sign out. 3) Sign in as new user.
In my case, it appears that it wanted to verify my license on the old account first, before it would let me switch to a new one.
I resolved this problem by deleting the registry key under
hkey_current_usersoftwareMicrosoftVSCommon12.0clientservicestokenstoragevisualstudioideuser
链接地址: http://www.djcxy.com/p/96666.html