I am adding 3rd party Lotus Notes dll in my project which is not CLS-Compliant. I need to set ‘Treat Warning As Error’. How can I suppress all the warnings from that particular dll only.
All warnings are like
Identifier 'Domino.Name_Of_Identifier' is not CLS-compliant
You can’t suppress warnings from a particular DLL – but you can turn off specific warnings.
In the message you’ll see a number like CS3008 – go into Project Properties, Build Tab, and enter this into the Suppress Warnings field.