Microsoft KB Archive/320851

= Locations for user customizations in Visual Studio 2005 or in Visual Studio .NET =

Article ID: 320851

Article Last Modified on 2/11/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-



This article was previously published under Q320851



SUMMARY
When you develop applications by using Microsoft Visual Studio 2005 or Microsoft Visual Studio .NET on multiple computers, you may have to copy user-specific settings from one computer to another. This article describes where customized settings are located and how to copy these settings.



MORE INFORMATION
Visual Studio 2005 or Visual Studio .NET stores user information in many different files. These files are located in many different folders. Depending on your requirements, you can copy these files from one computer to another. The following are various settings and their corresponding locations:  User Preferences (such as editor settings) that are different from the default settings are stored at the following registry key:

or

 Environment Profiles (such as window locations, sizes, and toolbox sets) are stored in the following folder:

\Application Data\Microsoft\VisualStudio\7.0\

or

\Application Data\Microsoft\VisualStudio\8.0\

 Settings for related applications (such as MSDN Library and Debug) are stored in the following folders:

\Application Data\Microsoft\MSDN\7.0\

or

\Application Data\Microsoft\MSDN\8.0\

\Application Data\Microsoft\VSA\7.0\

or

\Application Data\Microsoft\VSA\8.0\

\Application Data\Microsoft\DbgClr\7.0\

or

\Application Data\Microsoft\DbgClr\8.0\

 For Web projects, local caches are stored in the following folder:

\VsWebCache\ \

 User settings for a specific application are stored in a Visual Studio Solution User Options (.suo) file. A file of this type is named .suo. This file is stored in the same folder where the .sln file is stored. It is not a good idea to share this file on a source-control system. However, if only one user works on that computer, this file is available with the local copy of the project. You can copy these settings to another computer by copying the .suo file to the corresponding folder when you import the applicable settings.

User Customizations
 Macro project settings such as Show up are not included in the Add Reference dialog box or the Component Selector dialog box. However, you can copy Start page customizations, Dynamic Help additions, add-ins, HTML Designer customizations and wizards to the new computer. By default, macros are stored in the following folder:

\My Documents\Visual Studio Projects\Vsmacros\MyMacros

</li> When you click Add Reference in Visual Studio 2005 or Visual Studio .NET, a short list of components appears. The following folder contains managed assemblies that run in the development environment:

\Common7\IDE\PublicAssemblies

You can call these assemblies from macros, add-ins, and other user code. The assemblies in this folder appear in the Add Reference dialog box and in the Component Selector dialog box of the Object Browser. For example, you would install COM interoperability wrappers in the PublicAssemblies folder for automation object models. The assembly is Vslangproj.dll.</li> Managed assemblies that run in the development environment but are not called from user code are stored in the following folder:

\Common7\IDE\PrivateAssemblies

These assemblies do not appear in the Add Reference dialog box or in the Component Selector dialog box of the Object Browser. For example, you would install managed add-ins or designers in this folder.</li> Your personal Toolbox settings are stored in the Toolbox.tbd file in the following folder:

\Application Data\Microsoft\VisualStudio\7.0

or

\Application Data\Microsoft\VisualStudio\8.0

You can customize the Toolbox by right-clicking a tab, and then clicking Add Tab, Delete Tab, Rename Tab, or Customize Toolbox. To make a component appear in the Customize Toolbox dialog box, the component must be a registered COM control, or a .NET control component that is registered in global assembly cache (GAC). For more information about how to build your own control, visit the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vxoriComponentModelNamespaces.asp

</li> You can add your own tabs and content to the Start page. These setting are stored in the following file:

\Common7\IDE\HTML\1033\Vstab.xdr

For more information about how to customize the Visual Studio .NET Start page, visit the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vstchCustomizingVisualStudioStartPage.asp

</li> You can add your own links to Dynamic Help. These custom links are stored in an XML file in the following folder:

\Common7\IDE\HTML\XMLLinks\

For more information about how to add custom links to the Dynamic Help window, visit the following Microsoft Web site:

http://msdn.microsoft.com/library/en-us/vsintro7/html/vxconcontext-specifictopicsindynamichelpwindow.asp

</li> You can add support for new versions of markup languages such as HTML and XML to the HTML designer. This support is added in the form of a schema file (.xsd). These schema files are located in the following folder (in either the HTML folder or the XML folder, as appropriate):

\Common7\Packages\Schemas

For more information about HTML and XML schema extensibility, visit the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxoriWorkingWithEnvironmentTools.asp

</li> Settings for components such as browsers and default settings of Visual Studio .NET are stored in the following folder:

\Local Settings\Application Data\Microsoft\VisualStudio\7.0

or

\Local Settings\Application Data\Microsoft\VisualStudio\8.0

You can create a file named Sysincl.dat that lists the folders that are not included in dependency checking. Any file in a specified folder, or in one of its subfolders, is not included. You can store your Sysincl.dat file in the following folder:

\Local Settings\Application Data\Microsoft\VisualStudio\7.0

For more information about how to exclude files when dependency checking, visit the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Excluding_Files_When_Dependency_Checking.asp

</li></ul>

<div class="references_section">