Change what you get warnings for in Visual studio

Printable View