如何在 Visual Studio 2013 中切换我的登录用户? [英] How can I switch my signed in user in Visual Studio 2013?
问题描述
Visual Studio 2013 的一项新功能是能够使用 Microsoft 帐户登录并在所有 Visual Studio 实例中保留您的设置.
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.
当我安装 Visual Studio 2013 Preview 时,我使用我持有的多个 Microsoft 帐户之一登录.
When I installed Visual Studio 2013 Preview I signed in with one of several Microsoft Accounts I hold.
我现在已经安装了 Visual Studio 2013 的 RTM 版本(在卸载预览版之后),并且保留了我以前的用户登录凭据.
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.
我现在想将这些登录凭据更改为不同的 Microsoft 帐户,但每次尝试使用新详细信息登录时,我都会收到类似于以下内容的消息
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
我们无法建立连接,因为它是为用户 olduser@old.com 配置的,但您尝试使用用户 newuser@new.com 进行连接.要以不同用户身份连接,请执行切换用户操作.要使用配置的身份连接,只需再次尝试最后一次操作.
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.
推荐答案
在这个答案下面有一个评论,但我认为在这里列出它很重要.如果您想保留您的设置,请先导出它们,因为它们会丢失.
来自 MSDN 论坛 - 因为我不得不四处寻找解决方案:
From MSDN forums - since I had to hunt around far too much to find the solution to this:
- 关闭 Visual Studio
- 以管理员身份启动随 Visual Studio 安装的开发人员命令提示符.
- 键入devenv/resetuserdata"(对于 Express SKU,键入wdexpress/resetuserdata")
- 正常启动 Visual Studio.
为我工作.
这篇关于如何在 Visual Studio 2013 中切换我的登录用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!