/Log
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

/Log (devenv.exe) 

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


Devenv /log LogFile

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.

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

Devenv.exe /log "C:\My Files\MyLog.txt"
Show:
© 2016 Microsoft