unitycontainer / container

Unity.Container implementation.
Apache License 2.0
131 stars 69 forks source link

Unity (Composite) Package Structure #316

Open MohsenAra opened 5 years ago

MohsenAra commented 5 years ago

Create Composite Package

Some Package Like NServiceBus.Unity Depend on Unity.Container on Our Project Framework Depend On Unity when run Update package unity.container.dll some time reference to unity.Container folder and some time to unity container

I think this is can be better : Unity Composite Package must be Empty Package and has Dependency to Unity.Abstraction And Unity.Container

ENikS commented 4 years ago

I used to be against the idea, but it looks like people see benefit in it. Could you explain why do you think it is better?

MohsenAra commented 4 years ago

because now Unity.Container assembly can referenced from two package Unity OR Unity.Container Unity.Abstract assembly too can referenced from two package Unity OR Unity.Abstract

Some Some Library Like NServiceBus Referenced To Unity.Container Package So two package be installed same time because of dependency, and assembly reference to two package is randomly maybe package one or two

ENikS commented 4 years ago

I've added it to the plan