visual studio devenv.exe/resetuserdata到底做什么? [英] what does visual studio devenv.exe /resetuserdata do exactly?

查看:98
本文介绍了visual studio devenv.exe/resetuserdata到底做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在使用Visual Studio 2015时遇到问题,我能找到的唯一解决方法是打开开发人员命令行并执行"devenv.exe/resetuserdata"

I have been having an issue recently with Visual Studio 2015 and the only workaround I can find is opening up the developer command line and executing "devenv.exe /resetuserdata"

这解决了问题(直到下一次Windows更新通常将其恢复).

That solves the problem (until the next windows update typically brings it back).

一段时间以来,我一直在尝试解决此问题,因此我可以确定根本原因,但是一个大问题是,我找不到有关此命令"devenv.exe/resetuserdata"的任何msdn文档.

I have been trying to troubleshoot this for a while so I can actually determine the root cause but one big issue is that I cannot find any msdn documentation about this command "devenv.exe /resetuserdata"

所以这本质上是我的问题,这是做什么的?我试图弄清楚实际上是在重置什么.是注册表数据吗?我找不到的地方有一些设置/配置文件吗?

So that is essentially my question, what does this do? I am trying to figure out what is actually getting reset. Is it registry data? Is there some settings/config files somewhere I am not finding?

一般来说,我只是为了弄清楚该命令将执行的操作,但是,我想知道它的作用是什么.删除文件,注册表项等.

Just to clarify, I understand, in general, what the command will do, however, I am wondering more specifically what it does, I.E. deleting files, registry entries etc.

推荐答案

它将清除您拥有的所有用户数据,例如选项菜单中的设置,然后您可能需要重新输入用户详细信息/许可证.
您可以在运行命令之前导出设置.

It will clear all the user data that you have, like settings from the options menu, and you might need to re-enter your user details / license afterwards.
You can export the settings before you run the command.

以下目录的内容(以及其他信息)将被删除:

The contents of the following directories (and possibly other information) will be deleted:

%APPDATA%\Microsoft\VisualStudio\<version>
%LOCALAPPDATA%\Microsoft\VisualStudio\<version>

这篇关于visual studio devenv.exe/resetuserdata到底做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆