I have created a couple of interfaces and generic classes for working with agenda appointments:
interface IAppointment where T : IAppointmentPropert
In case someone else also has this error message: I found the same interface defined twice in different namespaces and the classes that have been tryed to be linked together did not use the same interface.