何らかの理由で、XBoxにデプロイしたときにWindows 10マシンで正常に動作するUWPアプリケーションは、標準のZipArchiveクラスを使用している.zipアーカイブでは動作しません。この問題は、Unzipping throws an "The underlying compression routine could not be loaded correctly"と似ているようですが、XBoxでのみ発生します。XBox UWPアプリケーションのZipArchive
System.IO.Compression.ZLibException: The underlying compression routine could not be loaded correctly.
---> System.DllNotFoundException: Unable to load DLL 'clrcompression.dll':
The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Interop.zlib.inflateInit2_(Byte* stream, Int32 windowBits, Byte* version, Int32 stream_size)
at Interop.zlib.InflateInit2_(ZStream& stream, Int32 windowBits)
at System.IO.Compression.ZLibNative.ZLibStreamHandle.InflateInit2_(Int32 windowBits)
at System.IO.Compression.Inflater.InflateInit(Int32 windowBits)
--- End of inner exception stack trace ---
at System.IO.Compression.Inflater.InflateInit(Int32 windowBits)
at System.IO.Compression.DeflateStream.InitializeInflater(Stream stream, Boolean leaveOpen, Int32 windowBits)
at System.IO.Compression.ZipArchiveEntry.GetDataDecompressor(Stream compressedStreamToRead)
私は= 5.4.0
Microsoft.NETCore.UniversalWindowsPlatformで15063(クリエイター更新)を標的ています私は、参照System.IO.Compression = 4.3(そうでない場合、参照は推移的である)を明示的に試してみました。 0とruntime.native.System.IO.Compression = 4.3.0、いずれも成功しません。
また、System.IO.Compression = 4.1.1に強制的にダウングレードしようとしましたが、問題は解決しませんでした。
Nugetの参考資料はありますか?または、XBoxでパッケージが壊れているだけです。