Skip to content

Fix building release/10.0.300 and fix NuGet Audit - #7875

Merged
ViktorHofer merged 10 commits into
release/10.0.3xxfrom
Fix10300WithNuGetAudit
Jul 21, 2026
Merged

ViktorHofer merged 10 commits into
release/10.0.3xxfrom
Fix10300WithNuGetAudit

Conversation

@ViktorHofer

@ViktorHofer ViktorHofer commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

Summary: I decided to backport the change that enabled NuGet Audit as part of the dev/PR validation instead of in official builds (by adding the audit source to the NuGet.config files). With that, we can be confident that the fix is working.

I'm also backporting a change from EricStj from main to be able to pass -warnNotAsErrors in so that downgrading errors to warnings for NuGet Audit codes works as expected. I'm using that new switch in fsharp, nuget-client and razor as I wasn't able to mitigate the flagged vulnerability reports in there. They are all coming from msbuild packages and are therefore false positives. Those repos make it really hard to update the vulnerable transitive dependency (S.S.Cryptography.Xml) as they either don't use CPM or don't have transitive pinning enabled.

I fixed the flagged vulnerabilities in msbuild and sourcelink by updating dependencies.

@ViktorHofer
ViktorHofer requested review from a team as code owners July 21, 2026 13:28
@azure-pipelines

Copy link
Copy Markdown
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.

@ViktorHofer ViktorHofer changed the title Fix10300 with nu get audit Fix building release/10.0.300 and fix NuGet Audit Jul 21, 2026
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team July 21, 2026 13:46
@ViktorHofer
ViktorHofer force-pushed the Fix10300WithNuGetAudit branch from 1e39b2b to 658e333 Compare July 21, 2026 14:09
…rSemicolon

Revert the StandardOutputImportance/Tee-Object Exec changes (commit 658e333):
restore the MinimalConsoleLogOutput redirect-to-file logging and the
LogRepoBuildError print-on-error target.

Rename FlagEscapeChar to FlagParameterSemicolon (\; on Windows, \; elsewhere)
for clarity; the resulting warnnotaserror command string is unchanged.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 7e694d7e-31db-455f-8694-ef36b21924e2
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team July 21, 2026 17:31
@ViktorHofer ViktorHofer mentioned this pull request Jul 21, 2026
@ViktorHofer
ViktorHofer enabled auto-merge (squash) July 21, 2026 21:07
@ViktorHofer
ViktorHofer requested a review from mmitche July 21, 2026 21:07
@ViktorHofer
ViktorHofer disabled auto-merge July 21, 2026 21:08
@ViktorHofer

ViktorHofer commented Jul 21, 2026 •

Copy link
Copy Markdown
Member Author

PR is ready. Feel free to merge when mostly green (needs force permissions as the "Validate user changes" job is reporting red - ignore).

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.

3 participants