Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Support multiple projects with automatic dependency registration #36

Open
matt-goldman opened this issue Oct 22, 2024 · 0 comments
Open

Comments

@matt-goldman
Copy link
Owner

Is your feature request related to a problem? Please describe.
The docs currently state that the automatic dependency registration source generator only works with single-project solutions.

Describe the solution you'd like
Support automatic dependency resolution in class libraries.

Describe alternatives you've considered
Attempted to make this work but scanning dependencies included all assemblies, including .NET MAUI controls, etc.

Additional context
It may be the case that this actually already works - you could simply call .UseAutoDependencies in your class library - if the class library is using the generic host builder for dependency injection into the main project. This needs to be tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant