ProvideLoadKeyAttribute.MinimumEdition Property
Gets the minimum edition of Visual Studio needed to load your VSPackage.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public ReadOnly Property MinimumEdition As String
public string MinimumEdition { get; }
Property Value
Type: System.String
The minimum edition of Visual Studio needed to load your VSPackage.
Remarks
Important
Packages that target Visual Studio 2010 only do not need a package load key.
Packages that target Visual Studio 2008 and earlier must have a package load key in order to validate and load VSPackages. This includes VSPackages provided by third parties, regardless of whether the hosting version of Visual Studio has a VSIP license.
MinimumEdition is the minimum edition of Visual Studio on which the VSPackage is loaded. This must be the literal edition value provided by Microsoft when obtaining your Package Load Key (PLK).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.