Why can't I use htmlagilitypack with windows phone 8? What else can I use to Parse HTML in WP8?

前端 未结 6 1626
天命终不由人
天命终不由人 2021-02-08 01:50

Why can\'t I use htmlagilitypack with windows phone 8? I appears to be supported on all platforms including Win8 Win8RT and WP7/WP7.5 and Silverlight 5. Is there one of the DLL

6条回答
  •  眼角桃花
    2021-02-08 02:28

    The issue appears to be that the NuGet package references the incorrect assembly for WP8.

    By default it seems that it references the binary in sl4-windowsphone71, manually removing the reference to the HtmlAgilityPack DLL and referencing the binary in the sl3-wp folder removes the dependency problem.

    That is how I have resolved it anyway.

提交回复
热议问题