PAVEOVER VSContent Element (Visual Studio Content Installer)

Contains all the metadata about the community content item.

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

Attributes and Elements

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:

https://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.

Remarks

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

Example

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

<VSContent xmlns="https://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>

See Also

Reference

PAVEOVER Visual Studio Content Installer Schema Reference