Is there a way to set a pragma disable warning for visual studio for an entire solution?

StackOverflow https://stackoverflow.com/questions/404311

  •  03-07-2019
  •  | 
  •  

Question

Is there a way to set a pragma disable warning for visual studio for an entire solution?

Was it helpful?

Solution

Use the /w compiler switch for per-project suppression. I'm not aware of any way to do it solution wide without selecting all projects and adding it to the command-line for each project (which can be done in one operation).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top