Pablo Galiano : VS10 beta 1 How do I hide an extension

Subscriptions

<March 2010>
SuMoTuWeThFrSa
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

News

Subscribe to Pablo Galiano by Email

Post Categories

VS10 beta 1 How do I hide an extension

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

 

If we want to hide an extension in the extension manager dialog we need to add the “SystemComponent” node in our VSIX manifest.

For example let’s take a look at the Visual Studio editor VSIX manifest:

<VSIX xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">

  <Identifier ID="Microsoft.VisualStudio.Editor">
    <Name>Microsoft Visual Studio Editor</Name>
    <Author>Microsoft Corporation</Author>
    <Version>10.0</Version>
    <Description>Microsoft Visual Studio Editor</Description>
      …

    <SystemComponent>true</SystemComponent>

      …

  </Identifier>

  <References/>

  <Content>
     …

    <MEFComponent>Microsoft.VisualStudio.Editor.dll</MEFComponent>
     …

  </Content>

</VSIX>

 

The  extension manager dialog then filters extensions with the “SystemComponent” node and the result is that they are hidden to the user. As you can see in the screenshot below the core Visual Studio Editor extension is not shown.

 

image

 

Pablo

posted on Monday, July 06, 2009 5:46 AM by pga