PAVEOVER ContentVersion Element (Visual Studio Content Installer)

Specifies which versions of Visual Studio the component supports.

<ContentVersion> 1.0/2.0 </ContentVersion>

The following sections describe attributes, child elements, and parent elements.



Child Elements


Parent Elements




Groups content in a .vscontent file.

A text value is required.

This value specifies which version of Visual Studio a component is designed to work with.

  • 1.0   Specifies that the component is compatible with Visual Studio 2005, Visual Studio 2008 and Visual Studio 2010.

  • 2.0   Specifies that the component is compatible with Visual Studio 2008, Visual Studio 2010, and Visual Studio 2012.

For managed language add-ins, specifying <ContentVersion>1.0</ContentVersion> will not install the add-in for use in both Visual Studio 2005 and Visual Studio 2008 unless the Version element in the .addin file for the add-in specifies the value 8.0 and 9.0 or the value *. For more information, see Add-In Registration.

The following example shows the metadata for a Windows community content component written in Visual Basic.

<VSContent xmlns="">
        <DisplayName>My Windows Project</DisplayName>
        <Description> A Windows project, written in Visual Basic, created for this example.</Description>
        <FileContentType>Windows Project</FileContentType>