Pablo Galiano : Visual Studio 2005 (devenv.exe) switches

Subscriptions

<September 2010>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789

News

Subscribe to Pablo Galiano by Email

Post Categories

Visual Studio 2005 (devenv.exe) switches

There is documentation available on MSDN about devenv.exe command line switches

When we work with Visual Studio Extensibility there are a couple of useful switches that we can also use:

http://msdn2.microsoft.com/en-us/library/bb166507(vs.80).aspx

But we also have:

  • devenv.exe /log <full path to log file>

This switch allows you to run Visual Studio and cause it to generate a log file of the various activities that it does behind the scenes.  This switch can be useful in debugging problems where the IDE crashes when you try to launch it or when you encounter package load failure error messages.

If you do not provide a path, Visual Studio 2005 will use by default the file %USERPROFILE%\Application Data\Microsoft\VisualStudio\8.0\activitylog.xml

  • devenv /rt

This switch is similar to /rootsuffix one, with the main difference that it allows you to specify the full registry root instead of the suffix.

Pablo

posted on Thursday, May 10, 2007 10:08 AM by pga

What do you think?

(required) 
required 
optional
required