Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.94 KB

import-and-export-settings-command.md

File metadata and controls

59 lines (41 loc) · 1.94 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords author ms.author manager ms.subservice
Imports, exports, or resets Visual Studio settings. vssettings file extension
Import and Export Settings command
05/28/2021
reference
Tools.ImportandExportSettings
Tools.ImportandExportSettings
Import and Export Settings command
Mikejo5000
mikejo
mijacobs
general-ide

Import and Export Settings command (.vssettings file)

Imports, exports, or resets Visual Studio settings file, .vssettings.

The file’s schema is open. Most commonly, the schema follows an XML structure where each category is a tag, which can itself contain subcategory tags. These subcategory tags can contain property value tags. While most packages use the common structure, any package in Visual Studio can contribute arbitrary XML to the file with the schema it chooses.

Syntax

Tools.ImportandExportSettings [/export:filename | /import:filename | /reset]

Switches

/export:filename

Optional. Exports the current settings to the specified file.

/import:filename

Optional. Imports the settings in the specified file.

/reset

Optional. Resets the current settings.

Remarks

Running this command with no switches opens the Import and Export Settings wizard. For more information, see Synchronize your settings and Environment settings.

Example

The following command exports the current settings to the file MyFile.vssettings:

Tools.ImportandExportSettings /export:"c:\Files\MyFile.vssettings"

See also