Share via


Asset Element (VSX Schema)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Describes an extension or content element that is surfaced by this package.

<Asset Type="Microsoft.VisualStudio.Control" Path="control.pkgdef" />

Attributes and Elements

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

Attributes

Attribute

Description

Type

Describes the extension type or content type of this asset. The Assets Element in this manifest may contain multiple assets that have the same Type. The Type attribute must have a fully qualified name that follows typical namespace conventions.

The allowable types are:

  • Microsoft.VisualStudio.Package

  • Microsoft.VisualStudio.MefComponent

  • Microsoft.VisualStudio.ToolboxControl

  • Microsoft.VisualStudio.Samples

  • Microsoft.VisualStudio.ProjectTemplate

  • Microsoft.VisualStudio.ItemTemplate

  • Microsoft.VisualStudio.Assembly

Path

The relative path of a file or folder in the package.

Child Elements

Element

Description

None

Parent Elements

Element

Description

Assets Element

Contains an Asset element for every extension or content element that is surfaced by this package.

Remarks

Any attributes that are not listed in this document are exposed to the VSIX Manifest API as a name-value pair dictionary.

Any structured content is allowed in an Asset begin tag and end tag. This content is exposed as extra XmlElement objects to the VSIX Manifest API.

Element Information

Namespace

https://schemas.microsoft.com/developer/vsx-schema/2011

Schema Name

VSIX Manifest

Validation File

PackageManifestSchema.xsd

Can be Empty

Not applicable

See Also

Other Resources

VSIX Extension Schema Reference

Visual Studio Extension Deployment