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

Subscriptions

<November 2008>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

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