PAVEOVER Attributes Element (Visual Studio Content Installer)

Specifies custom information about the component, which varies based on FileContentType.

<VSContent>
   <Content>
     <Attributes>
<Attributes>
    <Attribute>...</Attribute>
</Attributes>

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

Attributes

None.

Child Elements

Element

Description

Attribute

Required.

Specifies optional information about a component, such as programming language.

Parent Elements

Element

Description

Content

Groups content in a .vscontent file.

Attributes is an optional element.

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

<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
    <Content>
        <FileName>MyProjectTemplate.zip</FileName>
        <DisplayName>Sample Project Template</DisplayName>
        <Description>A project template created for this example.</Description>
        <FileContentType>VSTemplate</FileContentType>
        <ContentVersion>2.0</ContentVersion>
        <Attributes>
            <Attribute name="ProjectType" value="Visual Basic"/>
            <Attribute name="ProjectSubType" value=""/>
            <Attribute name="TemplateType" value="Project"/>
        </Attributes>
    </Content>
</VSContent>
Show: