PC Ekspert Forum

PC Ekspert Forum (https://forum.pcekspert.com/index.php)
-   Web dizajn, programiranje i ostalo (https://forum.pcekspert.com/forumdisplay.php?f=39)
-   -   C# WPF - ekstraktiranje (https://forum.pcekspert.com/showthread.php?t=250573)

Mario92 17.08.2013. 14:19

C# WPF - ekstraktiranje
 
Pozdrav, malo učim u WPF-u i sad trebam napraviti mogućnost ekstrakcije zip filea.

Code:

            string zip = @"path_do_zipa";
            string extract = @"temp_folder";
            ZipFile.extracttodirectory(zip, extract);

dodao sam namespace System.IO.Compression ali i dalje ne mogu koristiti klasu ZipFile iako se nalazi u .NET 4.5, dobijem ovu grešku:

Code:

The name 'ZipFile' does not exist in the current context
Imate kakvu ideju?

EDIT: Trebao sam dodati dll reference, ova tema je nastala 3 minute prerano :D


Sva vremena su GMT +2. Sada je 07:08.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 1999-2024 PC Ekspert - Sva prava pridržana ISSN 1334-2940
Ad Management by RedTyger