SolutionComponentAttribute
SolutionComponentAttribute
Section titled “SolutionComponentAttribute”SolutionComponentAttribute declares which Dataverse solution or solutions should receive a plugin component during automated registration.
Manual Reference Note
Section titled “Manual Reference Note”This is a manual reference page based on the current public contract in xrmghost-attributes, which remains the source of truth until any future generated reference exists.
Usage Shape
Section titled “Usage Shape”[SolutionComponentAttribute("CoreBusinessLogic", IsDefault = true)][SolutionComponentAttribute("ExtendedFeatures")]Constructor
Section titled “Constructor”SolutionComponentAttribute(string solutionUniqueName)
Public Members
Section titled “Public Members”SolutionUniqueName— required solution unique name.IsDefault— optional boolean flag, defaulting tofalse, for the primary solution choice when multiple attributes are present.
Validation and Limits
Section titled “Validation and Limits”- The constructor throws when
solutionUniqueNameis null, empty, or whitespace. - The attribute stores grouping metadata only; the registration order and behavior remain consumer responsibilities.
When to Use It
Section titled “When to Use It”Use this attribute when registration tooling needs explicit solution grouping for a plugin component.