Skip to content

Treat restore warnings as errors - #66

Open
gunndabad with Copilot wants to merge 1 commit into
mainfrom
treat-restore-warnings-as-errors
Open

gunndabad with Copilot wants to merge 1 commit into
mainfrom
treat-restore-warnings-as-errors

Conversation

Copilot AI commented Nov 11, 2026

Copy link
Copy Markdown

Mirrors DFE-Digital/teaching-record-system#3755.

TreatWarningsAsErrors was only enabled for the Release configuration, but CI and the Dockerfile restore before switching to Release, so NuGet NU* warnings were never escalated. This also enables it when MSBuildRestoreSessionId is set (i.e. during restore).

Also adds a CHANGELOG entry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

2 participants