ActivationConstraint.SolutionHasProjectFlavor(Guid) Method
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.
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.