I assume that you are mistaken: you did not recompile the assembly containing the IRepository<T> interface, because you inherited it from IDisposable , or referenced its incorrect copy, or referenced some other IAddressRepository .
Try doing "Clear", then "Restore All" and check the paths in your links. If the projects are in the same solution, make sure that you refer to the project containing the IRepository<T> / IAddressRepository , and not the DLL.
Also make sure AddressRepository really implements IAddressRepository . It could just be a bad error message.
EDIT: So the resolution seems to be that the assembly containing the parent class AddressRepository did not compile. This made the debugger complain about the AddressRepository not implementing IDisposable , and not the (more reasonable) "unreachable due to the level of protection" error compiling the class itself. I assume that you also had this error, but first turned to it.
Chris shain
source share