ActivationConstraint.SolutionHasProjectFlavor(Guid) Method

Definition

Caution

SolutionHasProjectCapability should be preferred due to better future compatibility.

Creates an activation constraint that is true when the solution has a project that has a flavor matching flavor.

[System.Obsolete("SolutionHasProjectCapability should be preferred due to better future compatibility.")]
public static Microsoft.VisualStudio.Extensibility.ActivationConstraint SolutionHasProjectFlavor (Guid flavor);
[<System.Obsolete("SolutionHasProjectCapability should be preferred due to better future compatibility.")>]
static member SolutionHasProjectFlavor : Guid -> Microsoft.VisualStudio.Extensibility.ActivationConstraint
Public Shared Function SolutionHasProjectFlavor (flavor As Guid) As ActivationConstraint

Parameters

flavor
Guid

The project flavor GUID.

Returns

A constraint that is true when the solution has a project with the matching flavor.

Attributes

Remarks

This method is deprecated, use SolutionHasProjectCapability(ProjectCapability) instead.

Applies to