|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
User Settings and Options
A VSPackage has several tools that enable it to obtain and preserve user preferences.
VSPackages can modify existing or create new Options dialog boxes under the Tools menu (Tools Options pages) by using the Visual Studio SDK and the Visual Studio automation model. In addition, the integrated development environment (IDE) supports automatic persistence of user preferences on Tools Options pages.
Visual Studio Settings provides a generic mechanism to support the persistence of IDE configurations regardless of how they are set. Through the IDE, users can save their current Visual Studio environment configuration, retrieve a saved configuration, or move the settings to different computers.
For more information, see Working with Settings.
The managed package framework provides a mechanism for building configuration dialog boxes that persist settings by using the Microsoft.VisualStudio.Shell.DialogPage class.