I'm using /warnaserror msbuild switch to enable warnings as errors.
Currently, the messages about the bindings are warnings and the switch turns them into red error.
<Warning Condition="'$(GeneratedBindingRedirectsAction)' == 'Overwrite'"
File="Web.config"
Text="Generated Binding Redirects have been applied automatically to the Web.config. This warning will disappear on the next build." />
Proposals:
- Replace them with Messages
- Add custom Code to Warnings so people can suppress them.
Messages with high importance would be a better joice but let me know. I'm happy to send a PR with either change.
I'm using
/warnaserrormsbuild switch to enable warnings as errors.Currently, the messages about the bindings are warnings and the switch turns them into red error.
Proposals:
Messages with high importance would be a better joice but let me know. I'm happy to send a PR with either change.