共用方式為


Exporting Your Environment Settings

Menu:  Tools -> Import and Export Settings
Command:  Tools.ImportandExportSettings
Versions:  2008,2010
Published:  7/14/2010
Code:  vstipEnv0021

 

You can export your settings by going to Tools -> Import and Export Settings Wizard:

image

 

 

 

Export selected environment settings - will allow you to save your settings to a .vssettings file.

 

Clicking Next will show the "Choose Settings to Export" dialog:

image

 

 

You can expand out areas to pick the items you want to exclude:

image

 

By default, almost everything is included except for items that could expose sensitive information.  The only thing that is NOT selected is the Import and Export Settings option:

image

 

After you make your choices and click Next you can pick your location(c:\users\<current user>\documents\visual studio 2010\settings by default) and file name (current date by default) for the exported information:

image

 

When you click Finish the settings will be exported and you will get this dialog:

image

 

In case you are curious, the file itself is just an XML file you can open in Notepad and see the contents:

image

Comments

  • Anonymous
    July 13, 2010
    'tis a great thing. I wish more apps let you import/export their configs. (The ones which allow complex customisation, at least.)

  • Anonymous
    October 31, 2010
    Totally agree Leo :)