Skip to content

Commit 9a52e1c

Browse files
committed
Test libZipSharp fallback.
1 parent 6194d12 commit 9a52e1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Xamarin.Android.Build.Tasks/Utilities/ZipArchiveDotNet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ static ZipArchiveDotNet ()
5858

5959
// These private fields exist on both .NET Framework 4.7.2 and .NET 9.0. If they are not found,
6060
// we will return a ZipArchiveEx which uses libZipSharp instead.
61-
crc_field = typeof (ZipArchiveEntry).GetField ("_crc32", BindingFlags.NonPublic | BindingFlags.Instance);
62-
comp_field = typeof (ZipArchiveEntry).GetField ("_storedCompressionMethod", BindingFlags.NonPublic | BindingFlags.Instance);
61+
//crc_field = typeof (ZipArchiveEntry).GetField ("_crc32", BindingFlags.NonPublic | BindingFlags.Instance);
62+
//comp_field = typeof (ZipArchiveEntry).GetField ("_storedCompressionMethod", BindingFlags.NonPublic | BindingFlags.Instance);
6363
}
6464

6565
public static IZipArchive Create (TaskLoggingHelper log, string archive, ZipArchiveMode mode)

0 commit comments

Comments
 (0)