ExtensionMetadata.InstallationTargetVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.