0 out of 2 rated this helpful - Rate this topic

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" />

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.

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.

Namespace

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

Schema Name

VSIX Manifest

Validation File

PackageManifestSchema.xsd

Can be Empty

Not applicable

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.