I find out unexpected behavior when using a Unity application block. I have Project A as my initial project.
Project A has a link to Project B, which has a link to Project C.
Project A uses unity to allow references to classes defined in project B. These classes, in turn, use Unity to resolve references to dependencies on classes in project C.
So, since I only use interfaces defined in the general project and allowing specific references using Unity, there is no need to add project / assembly references for Project B or Project C in Project A.
But in this case, Unity cannot resolve the links. If, on the other hand, I add links for both projects, there is no problem. Why is this necessary? Is there any way around this?
Is it because Unity would need the dll to be in context and loaded to create types from these assemblies? . Somehow this is not so. Can someone help me in understanding this beahvior.
koder source share