Commit 423ae68
[Xamarin.Android.Build.Tasks] Fix a bug when extracting resources. (#847)
There is a small bug in the zip extraction. We were using
`FileMode.OpenOrCreate` to write the files. The problem is
`OpenOrCreate` does not truncate the file if it exists. So
if we have a resource which is smaller than the file on disk
we end up with additonal stuff at the end of it..
So lets use `Create` instead which will truncate the file
if it exists aleady.1 parent 87e6433 commit 423ae68
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
0 commit comments