Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable specific warnings for the entire solution? [duplicate]

Possible Duplicate:
Globally suppress c# compiler warnings

To not add to each file a line like:

#pragma warning disable 1573
like image 336
objMihail Avatar asked Oct 14 '12 16:10

objMihail


1 Answers

All compilation options are specified on the project level. MSBuild exists below the level of solutions.

To do it for each project, go to the Build tab in Project Properties and enter the warning number in the Suppress Warnings textbox.

like image 74
SLaks Avatar answered Sep 17 '22 20:09

SLaks