You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Browsing through the source code - possible bug in PackageUtilities? #9724
I checked the current dev branch in NuGet.Client and it looks like PackageUtilities.OpenNuspecFromNupkg still checks nupkgStream for null after calling reader.GetNuspec(), but the intended check seems to be against nuspecStream.
I’ll try to update the validation and add/adjust a test to cover the missing nuspec stream scenario.
@Murillou4 I didn't see a PR for this since May, so I opened NuGet/NuGet.Client#7813 with the one-line fix and a couple of tests. If you're still working on yours, let me know and I'll close mine.
@Murillou4 I didn't see a PR for this since May, so I opened NuGet/NuGet.Client#7813 with the one-line fix and a couple of tests. If you're still working on yours, let me know and I'll close mine.
Activity
Murillou4 commentedon May 10, 2026
Hi, I’d like to work on this issue.
I checked the current dev branch in NuGet.Client and it looks like PackageUtilities.OpenNuspecFromNupkg still checks nupkgStream for null after calling reader.GetNuspec(), but the intended check seems to be against nuspecStream.
I’ll try to update the validation and add/adjust a test to cover the missing nuspec stream scenario.
AsadIqbal-Dev commentedon Oct 22, 2026
@Murillou4 I didn't see a PR for this since May, so I opened NuGet/NuGet.Client#7813 with the one-line fix and a couple of tests. If you're still working on yours, let me know and I'll close mine.
Murillou4 commentedon Oct 22, 2026
You can keep It, thanks for asking