Bug 42219

Summary: [System.IO.Compression] Cannot create ZipArchive with duplicate entries with same name
Product: [Mono] Class Libraries Reporter: João Matos <joao.matos>
Component: GeneralAssignee: João Matos <joao.matos>
Severity: normal CC: mono-bugs+mono
Priority: ---    
Version: unspecified   
Target Milestone: Untriaged   
Hardware: PC   
OS: Windows   
Tags: 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