Repository navigation
[release/10.0.1xx] Downgrade NU1901, NU1902, NU1903 to warnings and log them, enable warnAsError - #10307
Merged
akoeplinger merged 6 commits intoOct 19, 2026
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: 383ea2c0-59cf-4fd9-b024-4bb649e4a07e (cherry picked from commit 0b5109c) Co-authored-by: Copilot <[email protected]> Copilot-Session: 9be4d078-00a5-46c0-8a67-69cc168c1960 # Conflicts: # eng/tools/tasks/Microsoft.DotNet.UnifiedBuild.Tasks/Microsoft.DotNet.UnifiedBuild.Tasks.csproj
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
mthalman
approved these changes
Oct 19, 2026
Co-authored-by: Copilot <[email protected]> Copilot-Session: 9be4d078-00a5-46c0-8a67-69cc168c1960
Co-authored-by: Copilot <[email protected]> Copilot-Session: 9be4d078-00a5-46c0-8a67-69cc168c1960
Co-authored-by: Copilot <[email protected]> Copilot-Session: 9be4d078-00a5-46c0-8a67-69cc168c1960
Backport the Nerdbank.MessagePack.dll and PolyType.dll signing mappings from #9925 (upstream commit 5c86052). Co-authored-by: Copilot <[email protected]> Copilot-Session: 9be4d078-00a5-46c0-8a67-69cc168c1960
Update the explicit test-runtime package pin from 8.0.29 to 8.0.32 to address GHSA-fpq8-4vhr-rcxx and GHSA-rv87-ccxw-8ggf without suppressing NU1904. Co-authored-by: Copilot <[email protected]> Copilot-Session: 9be4d078-00a5-46c0-8a67-69cc168c1960
Member
|
I remain confused as to why more roslyn-related changes are being backported as part of this change. |
Member
Author
|
@333fred same reason as in #10306, to fix issues that showed up when -warnAsError got turned on. The razor vulnerability fix was necessary because this doesn't yet turn NU1904 into a warning (this was done in a couple follow-up commits in main and I didn't want to make the backport even more complicated, though we can do that later on). |
333fred
approved these changes
Oct 19, 2026
This was referenced Oct 25, 2026
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #7922 to
release/10.0.1xx.Note that this also enables -warnAsError globally in Directory.Build.rsp.
Conflict resolution: preserve the release-specific
Newtonsoft.Jsonreference, applying the sameExcludeAssets="runtime"and audit-warning suppression removal as the other references. All other changes merge automatically.Validation: compiled all three modified tools targeting net10.0 using the locally available .NET 11 SDK with Arcade imports disabled; exercised diagnostic warning/error handling with synthetic logs; parsed changed XML, Bash, and PowerShell files. A full SDK build was not run.
Note
Prepared with GitHub Copilot.