I have application called Company.Application. It does uses libraries:
- Company.InversionOfControl
- Company.Functionality.Contracts
- Company.Functionality
The application uses InversionOfControl to scout the assemblies part app domains using:
appDomain.GetAssemblies()
The problem is that the Company.Application never references code from Company.Functionality directly but relies on interfaces defined in Company.Functionality.Contracts and Company.InversionOfControl to couple the functionality defined Company.Functionality and inject it in Company.Application
Because of this sometimes the application's domain does not sees the assembly Company.Functionality (ie appDomain.GetAssemblies() ).
My question is - is there way to force including of Company.Functionality ?