Share via


ExtensionMetadata.InstallationTargetVersion Property

Definition

Gets the optional Visual Studio version range supported by this extension.

public string? InstallationTargetVersion { get; init; }
member this.InstallationTargetVersion : string with get, set
Public Property InstallationTargetVersion As String

Property Value

Remarks

The format of InstallationTargetVersion is either a single version number (E.g., "17.0") or a version range (E.g., "(17.0,18.0]") where round brackets indicate excluded versions and square brackets indicate included versions. The minimum version number cannot be lower than the version of the referenced VisualStudio.Extensibility libraries.

If InstallationTargetVersion is null, the major and minor version number of the VisualStudio.Extensibility libraries referenced by the extension will be used as included minimun version, the following major version will be used as excluded maximum version.

Applies to