Is there a way to set a pragma disable warning for visual studio for an entire solution?
2 thoughts on “Is there a way to set a pragma disable warning for visual studio for an entire solution?”
user
It's a good idea to use a solution-wide property sheet (.vsprops file). This sheet contains multiple settings so you can manage them centrally. ("debug" and "release" configurations are implemented as property sheets as well)
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).
It's a good idea to use a solution-wide property sheet (.vsprops file). This sheet contains multiple settings so you can manage them centrally. ("debug" and "release" configurations are implemented as property sheets as well)
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).