开发者

base type is not CLS-compliant in Third Party Control

开发者 https://www.devze.com 2022-12-31 11:07 出处:网络
I have a control that I purchased.When I tried to inherit from the co开发者_开发技巧ntrol I get this message:

I have a control that I purchased. When I tried to inherit from the co开发者_开发技巧ntrol I get this message:

Warning: 'MyNamespace.MyFile': base type 'Mooseworks.UI.MwTextBox' is not CLS-compliant

Is there any way around this besides asking the vendor of my control to make their control CLS compliant?


I went to the build tab of the project and added 3009 in the "Suppress warnings:" section.

As this is not my code I don't feel too bad about suppressing this warning.

0

精彩评论

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