Compartilhar via


ProvideLoadKeyAttribute.MinimumEdition Property

Gets the minimum edition of Visual Studio needed to load your VSPackage.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property MinimumEdition As String
public string MinimumEdition { get; }
public:
property String^ MinimumEdition {
    String^ get ();
}
member MinimumEdition : string with get
function get MinimumEdition () : String

Property Value

Type: 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

See Also

Reference

ProvideLoadKeyAttribute Class

Microsoft.VisualStudio.Shell Namespace