-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] Fix issues with Library Resource Extrac…
…tion Since the switch to System.IO.Compression we have a few issues when dealing with resource extraction. 1) It was not ignoring _MACOSX or .DS_Store during extraction. 2) It was not correctly detecting duplicate zip entries. This commit updates the code to correctly filter _MACOSX and .DS_Store entries. It also changes the way we check if an entry exists in the zip already. And finally it updates ResolveLibraryProjectImports to use the Files.ExtractAll method. This is because the standard ZipFile.ExtractToDirectory has no way of filtering the output (so it includes _MACOSX and .DS_Store).
- Loading branch information
1 parent
474dc74
commit 5b48c9e
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters