I'm trying to resolve problem with referencing shared project within couple class libraries.
Inside solution the references between projects are:
- Class library A -> SharedProject
- Class library B -> SharedProject
- Class library C -> SharedProject
- Class library C -> Class library A
- Class library C -> Class library B
In shared project I have only one class with logic, that I want to share, so in each class library project I'm using same class from shared project. But after build i get folowing error in Class library C:
The type 'same class' exists in both Class library A and Class library B
Is there a way to make this work, or shoul I replace shared project with classic class library?