-
Notifications
You must be signed in to change notification settings - Fork 645
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
Adding MS netcore 3.1.0 packages fails with duplicate key exceptions (in zip processing) #7744
Comments
We're aware of the issue and it's being fixed in our upcoming patch release: dotnet/extensions#2744. There's also a issue for the NuGet client to flag duplicate items: NuGet/Home#6941 |
We don't seem to validate that. We have a tracking issue for it on the extraction side. NuGet/Home#8875 @pranavkm correctly linked the issue for the pack side of things. |
iisexpress.exe Error: 0 : System.ArgumentException: 已添加项。字典中的关键字:“packageIcon.png”所添加的关键字:“packageIcon.png” |
nuget.org should block packages with duplicate files. When the client adds logic to block those, we will take the new bits. |
Describe the bug
Adding MS netcore 3.1 packages fails with
System.ArgumentException: Item has already been added.
This is due to 'packageIcon.png' being in the package twice (see screenshot below)I'm not sure where the issue lies, but it is successfully indexed by nuget.org so thought I'd raise it here first.
To Reproduce
Steps to reproduce the behavior:
~/Packages
directoryExpected behavior
The package is indexed
Screenshots
Renaming the nupkg as a zip and inspecting illustrates the issue:
Additional context
The same appears true with a variety of other 3.1 packages I've looked at.
The text was updated successfully, but these errors were encountered: