Zipfile Class

2 posts, 0 answers
  1. Abdou
    Abdou avatar
    14 posts
    Member since:
    Jul 2018

    Posted 05 Dec 2018 Link to this post


    can i use the Zipfile Class from Windows Forms in xamarin forms ?

    I need the extract method to unzip a file in a directory! if yes how can i include it ?

    the ExtractToDirectory Method from .NET throw a IO Exception[Invalid Paramater] ! but it execute succesfully


    Thanks in advance

  2. Lance | Team Lead - US DevTools Support
    Lance | Team Lead - US DevTools Support avatar
    1077 posts

    Posted 05 Dec 2018 Link to this post

    Hi Abdou,

    Are you talking about Telerik's UI for Xamarin ZipLibrary assembly?  You will need to use the Zip assembly delivered with UI for Xamarin because it is compatible with .NET Standard. The other Document Processing Library versions are not yet compatible with .NET Core. 

    Find the instructions here and here's a screenshot of the assembly's location in the UI for Xamarin installation folder:

    If you're asking about a general Xamarin.Forms / WinForms library, I recommend posting the question on StackOverflow or Xamarin Forums to get general Xamarin development assistance.

    Lance | Tech Support Engineer, Sr.
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top