Integrating assemblies not automatically detected.
Stesmi
Posts: 2
Hi,
We are currently evaluating SmartAssembly and have a need to integrate assemblies that it has not automatically detected.
The main assembly has a reference to the other assemblies but is not instantiating them (nor is anything else) - I am assuming that is why SA is not adding them to the list of assemblies to merge or integrate.
Is it possible to override this behavior so that even referenced but unused assemblies are used?
We have our own IoC implementation that handles instantiating everything where needed.
It feels odd to have to instantiate a class in each assembly for the simple reason of getting it integrated, but worst case that is what we will have to do.
Or is this covered somewhere already? I was unable to find it.
Thanx for the help
// Stefan
We are currently evaluating SmartAssembly and have a need to integrate assemblies that it has not automatically detected.
The main assembly has a reference to the other assemblies but is not instantiating them (nor is anything else) - I am assuming that is why SA is not adding them to the list of assemblies to merge or integrate.
Is it possible to override this behavior so that even referenced but unused assemblies are used?
We have our own IoC implementation that handles instantiating everything where needed.
It feels odd to have to instantiate a class in each assembly for the simple reason of getting it integrated, but worst case that is what we will have to do.
Or is this covered somewhere already? I was unable to find it.
Thanx for the help
// Stefan
Comments
I'm afraid that your assumption is correct, and that we can't override this behaviour in SmartAssembly.
Please let me know if you have any further questions.