Suppress A Warning Globally - gecko-8/devwiki GitHub Wiki

Up

Visual Studio

  1. Right-click on the project and select Properties
  2. Open the Build tab
  3. Select Errors and Warnings
  4. In Suppress Specific Warnings add the warning id to the list (semi-colon separated)

Any Other Editor

  1. Open the .csproj file for the project
  2. In the PropertyGroup for your configuration find the NoWarn property (add it if necessary)
  3. Added the warning id to the list (semi-colon separated). For example:
    <NoWarn>1701;1702;1591</NoWarn>
    
⚠️ **GitHub.com Fallback** ⚠️