共用方式為


Identifier Element (VSX Schema)

Contains the information that uniquely identifies the associated Visual Studio extension deployment package.

<Identifier ID="Package ID">
  <AllUsers>... </AllUsers>
  <Author>... </Author>
  <Description>... </Description>
  <GettingStartedGuide>... </GettingStartedGuide>
  <Icon>... </Icon>
  <InstalledByMSI>... </InstalledByMSI>
  <License>... </License>
  <Locale>... </Locale>
  <MoreInfoUrl>... </MoreInfoUrl>
  <Name>... </Name>
  <PreviewImage>... </PreviewImage>
  <SupportedFrameworkRuntimeEdition>... </SupportedFrameworkRuntimeEdition>
  <SupportedProducts>... </SupportedProducts>
  <SystemComponent>... </SystemComponent>
  <Version>... </Version>
</Identifier>

Attributes and Elements

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

Attributes

Attribute

Description

ID

Required. The unique identifier for the extension. This value can be the same in subsequent versions of the extension.

Child Elements

Element

Description

AllUsers Element

Optional. Boolean value that specifies to install the extension for all users instead of the current user.

Author Element

Required. Specifies the author of the extension.

Description Element

Required. Provides a short description of the extension.

GettingStartedGuide Element

Optional. Contains a link to a file or Web site that is to be opened when installation of the extension is complete. Link is a text string.

Icon Element

Optional. String that specifies an icon to represent the extension.

InstalledByMSI Element

Optional. Boolean value that specifies whether the extension uses a Windows Installer (MSI) installer.

License Element

Optional. Specifies whether a license is required, and if so, where the license file is located.

Locale Element

Required. Defines the locale of the extension.

MoreInfoUrl Element

Optional. Link to a Web site that contains additional product information. Link is a text string.

Name Element

Required. Defines the name of the extension.

PreviewImage Element

Optional. String that specifies the preview image for the extension that displays in Extension Manager.

SupportedFrameworkRuntimeEdition Element

Required. Specifies the versions of the .NET Framework common language runtime (CLR) that are supported by the extension.

SupportedProducts Element

Required. Specifies the versions and editions of Visual Studio that are supported by the extension.

SystemComponent Element

Optional. Boolean value that flags the extension as a system component.

Version Element

Required. Defines the version number of the extension.

Parent Elements

Element

Description

Vsix Element

Required. Provides the root element for a manifest that describes a Visual Studio extension deployment package.

Element Information

Namespace

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

Schema Name

VSIX Manifest

Validation File

VSIXManifestSchema.xsd

Can be Empty

No

See Also

Other Resources

VSIX Extension Schema Reference

Visual Studio Extension Deployment