/SafeMode (devenv.exe)

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