-
Notifications
You must be signed in to change notification settings - Fork 1
Suppress A Warning Globally
Jason Lewis edited this page Dec 15, 2021
·
1 revision
- 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>