Skip to content

chore: enable TreatWarningsAsErrors - #10

Merged
andregoepel merged 1 commit into
mainfrom
feature/warnings-as-errors
Jul 26, 2026
Merged

chore: enable TreatWarningsAsErrors#10
andregoepel merged 1 commit into
mainfrom
feature/warnings-as-errors

Conversation

@andregoepel

Copy link
Copy Markdown
Owner

Summary

  • Repo was already warning-free, so this is a configuration-only change: TreatWarningsAsErrors=true plus a WarningsNotAsErrors exception for low/moderate NuGet audit findings (NU1901/NU1902), so a newly-published CVE doesn't break every build. High/critical findings (NU1903/NU1904) stay errors.

Test plan

  • dotnet build --no-incremental — 0 Warning(s), 0 Error(s)
  • dotnet test — all tests pass
  • dotnet list package --vulnerable --include-transitive — no findings

Closes #9

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

Successfully merging this pull request may close these issues.

chore: enable TreatWarningsAsErrors for all projects

1 participant