开发者

warnings about mystery interfaces in C# projects

开发者 https://www.devze.com 2023-01-04 07:18 出处:网络
Every time I build my C# Solution, I get a handful of warnings about interfaces that I\'ve never seen or written.I tried Googling for some of them, but get no hits.Could these possibly 开发者_如何学运

Every time I build my C# Solution, I get a handful of warnings about interfaces that I've never seen or written. I tried Googling for some of them, but get no hits. Could these possibly 开发者_如何学运维be buried in an assembly I'm referencing? If so, is there any way to make these warnings go away?

Interface 'IAlertable' is marked as [dual], but does not derive from IDispatch. It will be converted as an IUnknown-derived interface.

Interface 'ICustomizationPermissionsReports' is marked as [dual], but does not derive from IDispatch. It will be converted as an IUnknown-derived interface.

Interface 'IAlertable2' is marked as [dual], but does not derive from IDispatch. It will be converted as an IUnknown-derived interface.


They must come form a COM assembly you are referencing. You could try to find out which one. It looks like the wrapper code was written/generated incorrectly.

And Visual Studio does have a "suppress warnings: " text box but I am at a loss as to what to type there.
Project Properties, Build


These are interfaces to HP Quality Center OTA-API "Interop.TDAPIOLELib", an ActiveX COM Type Library. Check your references.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号