Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: Windows Phone 7.8: MissingMethodException when calling MoveToNextEntry()

$
0
0
I'm trying to use SharpCompress in Visual Studio 2010 Express for Windows Phone 7. Here's my simple code:
IsolatedStorageFileStream inputFile;
RarReader reader;

inputFile = IsolatedStorageFile.GetUserStoreForApplication().OpenFile("myfile.rar", FileMode.Open);



reader = RarReader.Open(inputFile);
reader.MoveToNextEntry();  // This raises an exception

inputFile.Close();
But when running this code I'm getting:
Method not found: lag rlib, Version=3.7.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC.System.Enum.
at
reader.MoveToNextEntry();
Using this code:
IReader reader;
reader = ReaderFactory.Open(inputFile);
I'm also getting:
Could not load type 'System.Func`2' from assembly 'mscorlib, Version=3.7.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC'.
Any ideas?

Thanks in advance.

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>