I'm trying to use SharpCompress in Visual Studio 2010 Express for Windows Phone 7. Here's my simple code:
Thanks in advance.
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.