Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Groups content in a .vscontent file.
<VSContent>
<Content>
<Content>
...
</Content>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
|---|---|
FileName |
Required element. Specifies the name of a file for the component. |
DisplayName |
Required element. Specifies the name that will be displayed in the Visual Studio Content Installer for the component. |
Description |
Required element. Specifies the tooltip text that will appear in the Visual Studio Content Installer to describe the component. |
FileContentType |
Required element. Specifies whether the component is an add-in, macro project, IntelliSense code snippet, starter kit or Visual Studio template, or a Toolbox control. |
ContentVersion |
Required element. Specifies which versions of Visual Studio the component supports. |
Attributes |
Optional element. Specifies custom information about the component, which varies based on FileContentType. |
Parent Elements
Element |
Description |
|---|---|
VSContent |
Required element. Contains all the metadata about the community content item. |
Remarks
Content 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>