You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: