This project is read-only.

Issue opening a Zip-Container


I don't know, if this issue is already known or fixed. I'm working on some Demo-Apps for WP7 and I can't get around a specific issue.
I have a Zip-Container, which has several files in it.
The according Sourcecode snippet is:
        IsolatedStorageFileStream isoStream = IsolatedStorageFile.GetUserStoreForApplication().OpenFile("",FileMode.Open);
        ZipFile zipFile = new ZipFile(isoStream); //Crashes App
Executing this crashes the App in that case, that it hangs and Visual Studio starts get unstable.
The error has been seen with the latest stable version (
Is it already fixed in the latest source?
If yes, when to expect a new stable release?
Sorry for bothering,
Cheers, Peter


Sky wrote Sep 30, 2010 at 12:08 AM

no bother at all. let me take a look.

Sky wrote Sep 30, 2010 at 1:28 AM

Ok, at closer look at your snippet, the problem is clear. ZipFile and FastZip use System.IO file system routines which are not available to SL in the browser or WP7

This is only applicable for OOB SL. I suppose I should simply remove it from the WP7 build.

In the head of the source are beta implementations of ISO versions of ZipFile and FastZip. The Phone7 sample app has simple imlementation example.

After I uninstall WP7 CTP and get RTM up and running I will publish a beta release with these features, but in the meantime, you may want to pull or download the source.

wrote Sep 30, 2010 at 1:29 AM

wrote Sep 30, 2010 at 1:30 AM

PeterNowak wrote Oct 1, 2010 at 10:31 AM


the error is still existing in the latest sourcecode.

Using this sourcecode, the app still crashes:
        IsolatedStorageFileStream isoStream = IsolatedStorageFile.GetUserStoreForApplication().OpenFile("",FileMode.Open);
        IsolatedZipFile zipFile = new IsolatedZipFile(isoStream);
Using the following works instead:
        IsolatedZipFile zipFile = new IsolatedZipFile("");
Cheers, Peter

Sky wrote Oct 1, 2010 at 10:31 AM

documentation issue. as in there is no documentation specific to WP7

** Closed by Sky 29.09.2010 17:30

PeterNowak wrote Oct 1, 2010 at 10:31 AM

Not completly working. Just partially.

wrote Feb 14, 2013 at 8:55 PM