Pablo Galiano : VS10 beta 1 - User extensions versus Trusted extensions

Subscriptions

<March 2010>
SuMoTuWeThFrSa
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

News

Subscribe to Pablo Galiano by Email

Post Categories

VS10 beta 1 - User extensions versus Trusted extensions

***Disclaimer: This information applies to Visual Studio 2010 Beta 1 only.***

 

This post applies to the following Visual Studio 10 Beta 1 extensions:

  1. MEF component
  2. VSPackage

 

Visual Studio looks for extensions in the following folders:

  • %LocalAppData%\Microsoft\VisualStudio\10.0\Extensions (user extension)
  • %VS10_Install_Dir%\Common7\IDE\Extensions  (VS trusted extension)
  • %VS10_Install_Dir%\Common7\IDE\CommonExtensions (VS trusted extension)

 

Depending on where we deploy our extension, it will be an user extension or a VS trusted extension.

User extension

  • It can be enabled / uninstalled from the extension manager window

image

  • Visual Studio will only load the extension if it is enabled in the extension manager
    • HKCU\Microsoft\VisualStudio\10.0\ExtensionManager\EnabledExtensions

VS trusted extension

  • It cannot be enabled / uninstalled from the extension manager window

 image

  • Visual Studio will always load it

 

Pablo

posted on Friday, July 03, 2009 11:57 AM by pga

What do you think?

(required) 
required 
optional
required