Dela via


Visual Studio Content Installer Schema Reference

To install the contents of a packaged component, the Visual Studio Content Installer requires a .vscontent file, which is an .xml file that describes the package contents. The .vscontent file must follow a schema that contains the elements described in the following table. The package that contains the .vscontent file and other items is a .vsi file, and is typically referred to as a community component. For more information about .vscontent and .vsi files, see How to: Package Community Components to Use the Visual Studio Content Installer.

.VSContent File Schema

The following table describes the available elements of the .vscontent file schema.

Element

Child Elements

Attributes

VSContent Element (Visual Studio Content Installer)

Content

xmlns

Content Element (Visual Studio Content Installer)

FileName

DisplayName

Description

FileContentType

ContentVersion

Attributes

None

FileName Element (Visual Studio Content Installer)

None

None

DisplayName Element (Visual Studio Content Installer)

None

None

Description Element (Visual Studio Content Installer)

None

None

FileContentType Element (Visual Studio Content Installer)

None

None

ContentVersion Element (Visual Studio Content Installer)

None

None

Attributes Element (Visual Studio Content Installer)

Attribute

None

Attribute Element (Visual Studio Content Installer)

None

name

value

See Also

Tasks

How to: Package Community Components to Use the Visual Studio Content Installer

Concepts

Community Component Essentials

Other Resources

Visual Studio XML Reference