I have a scenario where i need to call classes present in project B from project A. I can not add reference of B in A, due to circular reference issue.
Is there a way to call class present in another function without adding references?
I have a scenario where i need to call classes present in project B from project A. I can not add reference of B in A, due to circular reference issue.
Is there a way to call class present in another function without adding references?
It is not possible and will require refactoring in perhaps one of these directions:
interface
s, and put them somewhere central like projX again. Make everything (or the conflicting items) in proj1, 2 ... n inherit from the interfaces. Pass objects around using interface types instead of object types.The key to your solution is within this: due to circular reference issue
this means that you should separate logic to a third assembly, so you can add the references.