# Aspect Library Mode
AspectGenerator can either generate its API into each project or consume the API from a shared aspect library.
## Single Project Mode
Use this when one project defines and consumes its own aspects.
```xml
true
false
```
## Shared Aspect Library
In the library that defines shared aspects:
```xml
true
true
```
In consuming projects:
```xml
false
```
All projects that need generated interceptors must set a generated interceptor namespace and include it in `InterceptorsNamespaces`.