PAVEOVER VSContent Element (Visual Studio Content Installer)

Contains all the metadata about the community content item.

<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
    <Content>    
        <FileName>    </FileName>0
        <DisplayName>    </DisplayName>
    ...
    </Content>
</VSContent>

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

Attributes

Attribute

Description

xmlns

Required.

Identifies the schema namespace, and must contain the following value:

http://schemas.microsoft.com/developer/vscontent/2005

Child Elements

Element

Description

Content

Required element.

Includes data that identifies the type of community content, how it is displayed, and the version of Visual Studio that the content supports.

Parent Elements

None.

The VSContent element is the root element of .vscontent files.

The following example shows the metadata for a macro community content component.

<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
    <Content>
        <FileName>MyMacroProject.vsmacros</FileName>
        <DisplayName>My Macro Project</DisplayName>
        <Description> A macro project created for this example.</Description>
        <FileContentType>Macro Project</FileContentType>
        <ContentVersion>1.0</ContentVersion>
    </Content>
</VSContent>
Show: