-
Notifications
You must be signed in to change notification settings - Fork 1
Aspect library mode
Igor Tkachev edited this page Jun 11, 2026
·
1 revision
AspectGenerator can either generate its API into each project or consume the API from a shared aspect library.
Use this when one project defines and consumes its own aspects.
<AspectGeneratorGenerateApi>true</AspectGeneratorGenerateApi>
<AspectGeneratorPublicApi>false</AspectGeneratorPublicApi>In the library that defines shared aspects:
<AspectGeneratorGenerateApi>true</AspectGeneratorGenerateApi>
<AspectGeneratorPublicApi>true</AspectGeneratorPublicApi>In consuming projects:
<AspectGeneratorGenerateApi>false</AspectGeneratorGenerateApi>All projects that need generated interceptors must set a generated interceptor namespace and include it in InterceptorsNamespaces.