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
{{ message }}
This repository was archived by the owner on Feb 15, 2023. It is now read-only.
Hi @jbogard
I have a question regarding this library.
Imagine the following scenario:
One assembly with a bunch of services;
That assembly (classlib) is referenced by 2 applications;
Some services on that assembly should be registered on the DI container of application1 and the other services for application2 (on this I've created an attribute to, with some reflection, identify which services belong to app1 and app2);
When I execute a request on the app1 it complains about not being able to resolve a dependency of a command that belongs to the app2.
(Unable to resolve service for type 'Service' while attempting to activate 'CreateCommand+CreateCommandHandler'.)')
I'm using the extension method that accepts an array of types and passing the types on each application.
Here is a quick example of what I'm doing.
Is this a bug or am I missing something here?
Thanks in advance. ;)
The text was updated successfully, but these errors were encountered:
Hi @jbogard
I have a question regarding this library.
Imagine the following scenario:
One assembly with a bunch of services;
That assembly (classlib) is referenced by 2 applications;
Some services on that assembly should be registered on the DI container of application1 and the other services for application2 (on this I've created an attribute to, with some reflection, identify which services belong to app1 and app2);
When I execute a request on the app1 it complains about not being able to resolve a dependency of a command that belongs to the app2.
(Unable to resolve service for type 'Service' while attempting to activate 'CreateCommand+CreateCommandHandler'.)')
I'm using the extension method that accepts an array of types and passing the types on each application.
Here is a quick example of what I'm doing.
Is this a bug or am I missing something here?
Thanks in advance. ;)
The text was updated successfully, but these errors were encountered: