共用方式為


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

Starts Visual Studio in safe mode, loading only the default environment and services.

Syntax

devenv /SafeMode

Remarks

This switch prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution.

Description

The following example starts Visual Studio in safe mode.

Code

Devenv.exe /SafeMode

See Also

Devenv Command Line Switches