Where are the Visual Studio settings stored?

眉间皱痕 提交于 2019-11-27 15:47:43

问题


I'm using visual studio 2013. The company I work for has changed domain names (eg from abc.com to ayebecee.com) which obviously means that a new login profile has to be created etc. Now I started up visual studio but all the addons I installed and settings are 'gone'. Basically I need to know where the settings and addons are stored so that I can copy them to my new windows profile.


回答1:


Try copying the files over from the old profile in the following locations to your new username's profile:

From:
    C:\Users\[OldUSERNAME]\AppData\Roaming\Microsoft\VisualStudio
To:    
    C:\Users\[NewUSERNAME]\AppData\Roaming\Microsoft\VisualStudio

From:
    C:\Users\[OldUSERNAME]\AppData\Local\Microsoft\VisualStudio
To:
    C:\Users\[NewUSERNAME]\AppData\Local\Microsoft\VisualStudio



回答2:


**Update for latest version**

Visual Studio 2015:

%USERPROFILE%\Documents\Visual Studio 2015

Visual Studio 2017:

%USERPROFILE%\Documents\Visual Studio 2017

Also have a look at these folders:

%USERPROFILE%\AppData\Local\Microsoft\VisualStudio\...
%USERPROFILE%\AppData\Roaming\Microsoft\VisualStudio\...



回答3:


Make an Export of your Visual Studio Settings... Tools -> Import And Export Settings Afterwards you can import it to your VS where you want have this settings.



来源:https://stackoverflow.com/questions/25031023/where-are-the-visual-studio-settings-stored

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