base type is not CLS-compliant in Third Party Control
-
30-09-2019 - |
문제
I have a control that I purchased. When I tried to inherit from the control 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.
제휴하지 않습니다 StackOverflow