Copying visual studio 2010 installed extensions options to another computer

前端 未结 4 2359
春和景丽
春和景丽 2021-02-19 11:42

I have visual studio 2010 installed and configured with some extensions at my home computer. Now i want to copy all installed extensions settings from my home computer to work c

相关标签:
4条回答
  • 2021-02-19 12:04

    For VS 2013 you can find them by this (not sure if this also works for VS 2010 but maybe it helps someone):

     var config1 = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
     MessageBox.Show("Config path: " + config1.FilePath);
    
    0 讨论(0)
  • 2021-02-19 12:17

    I would look in this directory

    %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\10.0\Extensions

    That is where the extensions are stored, copy that to your new PC.

    I'm not sure if this will work 100% but you can give it a shot.

    0 讨论(0)
  • 2021-02-19 12:19

    Visual studio extension settings are stored in the registry:

    HKCU\Software\Microsoft\VisualStudio\<version>\DialogPage\<extension>
    

    if they implement the default extension settings mechanism.

    Otherwise you'll have to go to the individual extension website to see where they store their settings.

    0 讨论(0)
  • 2021-02-19 12:19

    It is under one of the directories in AppData\Local\Microsoft_Corporation. Each extension has a user.config file stored.

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