The archive entry was compressed using an unsupported compression method

I tried to extract ZIP made by 7z (using Deflate), and my application threw me: Unhandled Exception: System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.

However, the files still get extracted. How may I suppress this message?

1

1 Answer

Oh well, I solved my own problem. Always use the Windows Explorer's Send to compressed (zipped) folder to zip files to be used with .NET's zip extraction.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like