I want to call a WCF Service which is implemented as a generic class. Note: [I have completely no access to modify its classes either to marks it COM visible or to make it as non generic class etc].
I have write a client which consumes that WCF Service. I get warning that:
"Type library exporter warning processing 'WCFService.MultiService.LokUpServiceClient, WCFService'. Warning: Type library exporter encountered a type that derives from a generic class and is not marked as [ClassInterface(ClassInterfaceType.None)]. Class interfaces cannot be exposed for such types. Consider marking the type with [ClassInterface(ClassInterfaceType.None)] and exposing an explicit interface as the default interface to COM using the ComDefaultInterface attribute".
Question:
To make WCF client COM visible by consuming perfectly WCF Service?
How to get rid of this warning message?