Share via


/Log (devenv.exe)

Starts Visual Studio and logs all activity to the specified log file for troubleshooting.

Devenv /log LogFile

Arguments

  • LogFile
    Required. The full path and name of the log file. The log file must already exist; a new log file will not be created.

    If the log file does not exist, Visual Studio will start, and an error message will be displayed. No activity will be logged.

Description

The following example starts vsprvs and logs all activity to the MyLog.txt file.

Code

Devenv.exe /log "C:\My Files\MyLog.txt"

See Also

Reference

Devenv Command Line Switches