Bug 42219 - [System.IO.Compression] Cannot create ZipArchive with duplicate entries with same name
Summary: [System.IO.Compression] Cannot create ZipArchive with duplicate entries with ...
Alias: None
Product: Class Libraries
Classification: Mono
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: João Matos
Depends on:
Reported: 2016-06-28 18:42 UTC by João Matos
Modified: 2016-06-29 10:43 UTC (History)
1 user (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description João Matos 2016-06-28 18:42:34 UTC
https://bugzilla.xamarin.com/show_bug.cgi?id=39282#c5 reported some inconsistencies related to duplicate entries.

Following from researching that issue, I checked MSDN docs related to CreateEntry and it seems duplicate entries with the same name should be supported.

There is no restriction on the string you provide. However, if it is not formatted as a relative path, the entry is created, but you may get an exception when you extract the contents of the zip archive. If an entry with the specified path and name already exists in the archive, a second entry is created with the same path and name.


We currently do not support this feature.
Comment 1 João Matos 2016-06-29 10:43:11 UTC

Note You need to log in before you can comment on or make changes to this bug.