Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Analyzers "Warnings as Errors" example to quick start #156

Open
jonmotos opened this issue Aug 16, 2024 · 2 comments
Open

Add Analyzers "Warnings as Errors" example to quick start #156

jonmotos opened this issue Aug 16, 2024 · 2 comments

Comments

@jonmotos
Copy link

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.

@martinothamar
Copy link
Owner

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

@jonmotos
Copy link
Author

jonmotos commented Sep 4, 2024

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

<WarningsAsErrors>0219,CS0168</WarningsAsErrors>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants