Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Android System.IO.Compression.dll not available on Windows?

$
0
0

We are building an Android app which references a PCL, and that PCL references System.IO and System.IO.Compression. The Android app builds fine on Mac, but on Windows it gives this error:

Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Perhaps it doesn't exist in the Mono for Android profile? File name: 'System.IO.Compression.dll'

Looking at C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\Facades, there is a System.IO.dll, but indeed no System.IO.Compression.dll.

If we just build the PCL itself, it builds fine, presumably because the Framework.NETPortable\vXX directory contains a System.IO.Compression.dll.

We've tried the stable and beta channels, and can repro on two Windows machines.

Is this a bug/any workaround?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>