Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

/Log (devenv.exe) 

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

Devenv /log 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"
© 2015 Microsoft