what does visual studio devenv.exe /resetuserdata do exactly?

∥☆過路亽.° 提交于 2021-02-07 07:15:49

问题


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"

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

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?

Edit: 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.


回答1:


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>


来源:https://stackoverflow.com/questions/47823385/what-does-visual-studio-devenv-exe-resetuserdata-do-exactly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!