Secret interface warnings in C # projects

Every time I build my decision in C #, I get several warnings about interfaces that I have never seen or written. I tried Google for some of them, but didn't get any hits. Can they be buried in the assembly I refer to? If so, is there a way for these warnings to go away?

The "IAlertable" interface is marked as [dual], but is not inferred from IDispatch. It will be converted as an interface derived from IUnknown.

The "ICustomizationPermissionsReports" interface is marked as [dual], but is not derived from IDispatch. It will be converted as an interface derived from IUnknown.

The "IAlertable2" interface is marked as [dual], but is not inferred from IDispatch. It will be converted as an interface derived from IUnknown.

+5
source share
2 answers

They should come from the COM assembly you are referencing. You might try to figure out which one. It seems that the shell code was written / generated incorrectly.

And Visual Studio has the “suppress warnings:” text box, but I don’t understand what to type there. Project Properties, Build

+6
source

These are the interfaces for the OAT-API HP Quality Center OTO-Interop.TDAPIOLELib, a COM ActiveX type library. Check your links.

+4
source

All Articles