Is it possible to obtain the classes or methods of other class with out adding a reference of that class
In my project i am having 2 class libraries namely DAL
and BAL
. While adding reference only one reference is added and for the other i am getting some Circular Dependancy
error. So is there any possibility to obtain the members of other class wi开发者_StackOverflow社区th out adding reference of that class.
A circular dependency usually means there is a design flaw in your system. If there is some common functionality that both libraries need then perhaps extract that into a third assembly and reference that from both.
Alternatively, you could have a third project that references the other two and is responsible for handling communication between them, a mediator.
精彩评论