Partager via


/SafeMode (devenv.exe)

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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, allowing stable execution.

Example

The following example starts Visual Studio in safe mode.

devenv /safemode

See also