martinothamar/Mediator

Add Analyzers "Warnings as Errors" example to quick start

jonmotos opened this issue · 2 comments

It would be very handy to see in the quick-start the necessary csproj configuration to produce build errors instead of warnings with the included Analyzers!

Happy to create a PR.

Sure, feel free 👍 are you thinking of TreatWarningsAsErrors or adjusting them through .editorconfig or something?

Yea I was thinking like the following - just gotta find the right warnings.

<WarningsAsErrors>0219,CS0168</WarningsAsErrors>