Skip to content

dotnet nuget verify outputs content hash #47528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

zivkan
Copy link
Member

@zivkan zivkan commented Jul 23, 2025

Summary

NuGet is changing dotnet nuget verify in .NET 10, so that it will output the package hash.

NuGet lock files ensure that the same package hash is used for every restore, but when different package sources have different package hashes, it can be hard to investigate what the package hash is from each source. This feature makes it easier to download the nupkg from each source, then run dotnet nuget verify on them, and find out what hash each one has, and compare to the ash in the lock file.


Internal previews

📄 File 🔗 Preview link
docs/core/tools/dotnet-nuget-verify.md docs/core/tools/dotnet-nuget-verify

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@zivkan zivkan merged commit 143dd66 into dotnet:main Jul 24, 2025
8 checks passed
@zivkan zivkan deleted the dotnet-nuget-verify-content-hash branch July 24, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants