Carlos Quintero (Microsoft MVP) blog

Visual Studio Extensibility with Add-ins

devenv.exe /SafeMode and add-ins in Visual Studio 2005 / 2008

Just a curious difference in behavior between Visual Studio 2005 and Visual Studio 2008 that the MSDN documentation doesn't cover very well:

According to the MSDN documentation of VS 2005, "This switch prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution." One would expect that if third-party VSPackages are not loaded, add-ins would be also excluded from loading, but they aren't, they are loaded.

Visual Studio 2008 works as expected and the whole Add-in Manager is disabled.

Published Fri, Mar 28 2008 3:38 by carlosq

Comments

# re: devenv.exe /SafeMode and add-ins in Visual Studio 2005 / 2008@ Wednesday, July 09, 2008 3:48 AM

Not all add-ins get disabled though. An example is Resharper (and I think PowerCommands, but not sure).

# re: devenv.exe /SafeMode and add-ins in Visual Studio 2005 / 2008@ Saturday, June 20, 2009 6:01 PM

Ahh... That would explain why I still get add-in errors when trying to start with /SafeMode!  ;)

But... is there ANY way to disable the add-ins, then...?

by Andrew

Leave a Comment

(required) 
(required) 
(optional)
(required)