Suppress A Warning Globally - gecko-8/devwiki GitHub Wiki
- Right-click on the project and select Properties
- Open the Build tab
- Select Errors and Warnings
- In Suppress Specific Warnings add the warning id to the list (semi-colon separated)
- Open the .csproj file for the project
- In the PropertyGroup for your configuration find the NoWarn property (add it if necessary)
- Added the warning id to the list (semi-colon separated). For example:
<NoWarn>1701;1702;1591</NoWarn>