How can I switch my signed in user in Visual Studio 2013?

后端 未结 16 1992
说谎
说谎 2020-12-12 08:53

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, amo

相关标签:
16条回答
  • 2020-12-12 09:44

    You don't need to reset all your user data to switch users. Try clicking on your name in the upper right corner then click on "Account settings". There you will get an option to sign out of the IDE. Once signed out you can sign back in as another Microsoft account.

    0 讨论(0)
  • 2020-12-12 09:45

    I have Visual Studio 2013 Express. I had to delete the registry key under:

    hkey_current_user\software\Microsoft\VSCommon\12.\clientservices\tokenstorge\VWDExpress\ideuser
    
    0 讨论(0)
  • 2020-12-12 09:46

    For VS 2013, community edition, you have to delete the registry keys found under: hkey_current_user\software\Microsoft\VSCommon\12.0\clientservices\tokenstorge\visualstudio\ideuser

    0 讨论(0)
  • 2020-12-12 09:46

    Execute VSWinExpress /resetuserdata, located in C:\Program Files (x86)\Microsoft Visual Studio 12.0, to reset the user credentials for Visual Studio 2013 Express.

    0 讨论(0)
  • 2020-12-12 09:52

    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.

    0 讨论(0)
  • 2020-12-12 09:52

    Start Visual Studio Tools -> Import and Export Settings -> Export selected environment settings You need to be really quick to navigate the menu before Licensing pop-up appears, (this step is optional: worst case scenario you would have to restore all the settings manually). Once in "Import and Export Settings" dialogue you can relax.

    Exit Visual Studio.

    From the command prompt run: devenv /resetuserdata for the particular Visual Studio version.

    Safest way is to right-click on the shortcut -> Properties -> Shortcut -> Target -> copy. Final command should look something like:

    "C:\Program Files (x86)\Microsoft Visual Studio NN.N\Common7\IDE\devenv.exe" /resetuserdata
    

    Go through log-in and initial settings.

    Tools -> Import and Export Settings -> Import selected environment settings to restore your original settings.

    This worked when the error:

    We were unable to establish the connection because it is configured for user email@address but you attempted to connect using user email@address. To connect as a different user perform a switch user operation. To connect with the configured identity just attempt the last operation again.

    ...has both instances of email@address identical.

    0 讨论(0)
提交回复
热议问题