The type is defined in an assembly that is not referenced. You must add a reference to assembly

Error:The type ‘IManagers.IDataManager’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘IManagers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’.

添加引用即可