base type is not CLS-compliant in Third Party Control
-
30-09-2019 - |
Pergunta
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?
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow