Repository navigation
Re-enable NuGet audit for release/10.0.4xx - #6729
Merged
Merged
Conversation
Removes the NuGet audit workarounds (NuGetAuditSuppress items and unconditional NuGetAudit=false) that were added to unblock builds. NuGet audit is now disabled only in official builds due to an MSBuild bug (dotnet/msbuild#10801) where WarningsNotAsErrors is not correctly handled for NuGet warnings, causing audit findings to become errors via TreatWarningsAsErrors. Audit remains enabled for local and CI dev builds. Changes: - Directory.Build.props: Add NuGetAudit=false for OfficialBuild only - eng/tools/Directory.Build.props: Replace NuGetAuditSuppress items with NuGetAudit=false for OfficialBuild only - src/sdk/Directory.Build.props: Replace unconditional NuGetAudit=false with OfficialBuild-conditioned disable Co-authored-by: Copilot <[email protected]>
lewing
approved these changes
May 20, 2026
marcpopMSFT
added a commit
that referenced
this pull request
May 22, 2026
…port fallback Port of #6729 to main with fix for SkipArcadeSdkImport projects. Projects like BinaryToolKit and MSBuildSdkResolver set SkipArcadeSdkImport=true, which prevents Arcade SDK from being imported. Since OfficialBuild is derived from OfficialBuildId by Arcade's DefaultVersions.props, it was never set for these projects. Add the OfficialBuild derivation to the SkipArcadeSdkImport fallback block (which is documented as 'keep in sync with Arcade SDK') so the NuGetAudit disable condition and all other properties that depend on OfficialBuild work correctly for non-Arcade projects. Co-authored-by: Copilot <[email protected]>
marcpopMSFT
added a commit
that referenced
this pull request
May 28, 2026
Co-authored-by: Marc Paine <[email protected]> Co-authored-by: Copilot <[email protected]>
mthalman
pushed a commit
to mthalman/dotnet
that referenced
this pull request
Jun 2, 2026
Co-authored-by: Marc Paine <[email protected]> Co-authored-by: Copilot <[email protected]>
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.
This is the release/10.0.4xx counterpart to #6620 and #6637.
Removes the NuGet audit workarounds (NuGetAuditSuppress items and unconditional NuGetAudit=false) that were added to unblock builds. NuGet audit is now disabled only in official builds due to an MSBuild bug (dotnet/msbuild#10801) where WarningsNotAsErrors is not correctly handled for NuGet warnings.
Changes