This project has moved and is read-only. For the latest updates, please go here.

can't HtmlDocument.Load() on windows phone

Topics: Developer Forum
Mar 9, 2011 at 8:30 PM


I can't load site in HtmlDocument. Then I try it, I get this error in VS2010 (in public void Load(string path) in HtmlDocument.cs):

MethodAccessExeption was unhandled

Attempt to access the method failed: System.IO.StreamReader..ctor(System.String, System.Text.Encoding)

At the same time HtmlDocument.LoadHtml() works perfectly.

May be, I do something wrong. Please, give me advice.