[Solved] Lost in ZIP Extensions

2 Answers 9 Views
Installer and VS Extensions
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Fit2Page asked on 26 Aug 2026, 01:08 PM

Hi,

 

I am kinda lost in the big ZIPLibrary forest.

Ik downloaded NuGet Zip. Extension, but not recognized as Telerik.Windows.Zip.Extensions, only as Telerik.Zip.Extensions.

Also the commands are not recognized, see screenshot.

I must re-factor some old code, can you give some pointers?

 

Marc

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 26 Aug 2026, 03:26 PM

Hi Marc,

You are on the right track. Starting with Q3 2026, Telerik Document Processing uses platform-agnostic namespaces. As part of this change, Windows was removed from all Telerik Document Processing and ZIP namespaces.

Therefore, the namespace you see is correct: Imports Telerik.Zip.Extensions

instead of: Imports Telerik.Windows.Zip.Extensions

The Telerik.Windows.Zip portion can still appear in the DLL/assembly name and in the physical reference files. This is expected: the assembly and NuGet package names have not changed; only the namespaces used in code have changed.

Please update the imports in the affected files as follows:

Old namespaceNew namespace
Telerik.Windows.ZipTelerik.Zip
Telerik.Windows.Zip.ExtensionsTelerik.Zip.Extensions
Telerik.Windows.Documents.*Telerik.Documents.*

For example, your imports should be:

Imports System.IO
Imports Telerik.Zip
Imports Telerik.Zip.Extensions
The ExtractToFile method is an extension method for a ZipArchiveEntry. Therefore, it must be called on entry, rather than on ZipFile.

The equivalent of your old code, including overwrite support, is:
Using archive As ZipArchive = ZipArchive.Read(str)
    For Each entry As ZipArchiveEntry In archive.Entries
        entry.ExtractToFile(
            Path.Combine(dxftools.TargetFolder, entry.Name),
            True,
            Nothing)
    Next
End Using

The relevant method signature is:

ExtractToFile(
    source As ZipArchiveEntry,
    destinationFileName As String,
    overwrite As Boolean,
    timeout As Nullable(Of TimeSpan))

You can check this forum for info about the TimeSpan param and the ExtractToFile method - https://www.telerik.com/forums/extracting-files-from-zip---unable-after-last-update---missing-extracttofile 

    Additional information is available in the following resources:

    Regards,
    Rumen
    Progress Telerik

    Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
    0
    Fit2Page
    Top achievements
    Rank 2
    Bronze
    Iron
    Iron
    answered on 27 Aug 2026, 06:41 AM
    Thanks Rumen! Problems solved.
    Tags
    Installer and VS Extensions
    Asked by
    Fit2Page
    Top achievements
    Rank 2
    Bronze
    Iron
    Iron
    Answers by
    Rumen
    Telerik team
    Fit2Page
    Top achievements
    Rank 2
    Bronze
    Iron
    Iron
    Share this question
    or