共用方式為


/Setup (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Forces Visual Studio to merge the resource metadata that describes menus, toolbars, and command groups, from all available VSPackages.

Syntax

devenv /setup

Remarks

This switch takes no arguments. The devenv /setup command is typically given as the last step of the installation process. Use of the /setup switch does not start Visual Studio.

You must run devenv as an administrator in order to use the /setup (devenv.exe) and /InstallVSTemplates (devenv.exe) switches.

Example

This example shows the last step in the installation of a version of Visual Studio that includes VSPackages.

devenv /setup

See Also

Devenv Command Line Switches