Bagikan melalui


/SafeMode (devenv.exe)

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

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

Reference

Devenv Command Line Switches