PAVEOVER FileContentType Element (Visual Studio Content Installer)
Specifies whether the component is an add-in, macro project, code snippet, starter kit or Visual Studio template, or a Toolbox control.
<VSContent>
<Content>
<FileName>
<DisplayName>
<Description>
<FileContentType>
<FileContentType> Addin/Macro Project/Code Snippet/VSTemplate/ToolboxControl </FileContentType>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
Content |
Groups content in a .vscontent file. |
Text Value
A text value is required.
This value specifies the type of component you intend to redistribute for use by the Visual Studio Content Installer, and must contain one of the following values:
Addin Specifies that the component is an add-in.
Macro Project Specifies that the component is a macro project.
Code Snippet Specifies that the component is a code snippet.
VSTemplate Specifies that the component is a starter kit or Visual Studio template.
Toolbox Control Specifies that the component is a Toolbox control.
Remarks
FileContentType is a required element.
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>