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

ASP.Net 5

description

Hi
It seems there is some issues with asp.net 5.
I install the htmlagility pack from the nugget source.
Some of methods has error so I can not build my project but it works when I try the view in browser option!!!
it seems there is some problem with core :

Severity Code Description Project File Line
Error CS1503 Argument 1: cannot convert from 'string' to 'System.IO.Stream' InfoBay.ASP.NET Core 5.0 D:\ToDoProjects\InfoX\InfoBay\Framework\Helpers_Html.cs 52

this error occurred on this line :
            HtmlDocument hd = new HtmlDocument();
            this line has error : hd.Save(fp, System.Text.Encoding.Unicode);
Have you ever try to run html agility pack with asp.net 5?
Please let me know if there is a solution.
Thanks
Mohsen

comments