The -nowarn option lets you suppress the compiler from displaying one or more warnings. Separate multiple warning numbers with a comma.
-nowarn:number1[,number2,...]
number1, number2 | Warning number(s) that you want the compiler to suppress. |
You should only specify the numeric part of the warning identifier. For example, if you want to suppress XS0028, you could specify -nowarn:28.
1.Open the project's Properties page.
2.Click the Build property page.
3.Modify the "Suppress Specific Warnings" property.