共用方式為


/Updateconfiguration (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

Notifies Visual Studio to merge the Visual Studio packages on the system and check the MEF cache for any changes.

Syntax

devenv /updateconfiguration

Remarks

Visual Studio runs this command automatically when you install a VSIX package. You should run devenv.exe /updateconfiguration after patching your files so that Visual Studio updates the MEF cache. This enables you to evaluate whether your fix is adequate.

Example

The following command line causes Visual Studio to merge the Visual Studio packages on the system and check the MEF cache for any changes.

Devenv.exe /updateconfiguration

See Also

Customizing Development Settings in Visual Studio Devenv Command Line Switches