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.
Pablo