Windows Phone 8.1 HubApp + HtmlAgilityPack [英] Windows Phone 8.1 HubApp + HtmlAgilityPack

查看:57
本文介绍了Windows Phone 8.1 HubApp + HtmlAgilityPack的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在Windows Phone应用程序中使用HAP非常麻烦,但是我非常需要.因此,问题在于,当我从silverlight 5或4添加System.Xml.XPath时,出现"Xaml内部错误错误WMC9999".必须注意的是,HAP的版本是1.4.6,而不是1.4.9(是最新的),因为它无法从NuGet进行安装(只是没有添加参考),而且我没有找到下载它的链接.手动. 在旧的Windows Phone 8 Silverlight应用程序中,一切正常. 请帮助.

I know that using HAP in windows phone apps is very problematic, but I very need to. So the problem is that when I add System.Xml.XPath from silverlight 5 or 4 I get "Xaml Internal Error error WMC9999". It's got to be noticed that the version of HAP is 1.4.6 but not 1.4.9 (tha latest one), because it cannot be installed from NuGet (just doesn't add reference) and I've found no links to download it manually. In old windows phone 8 silverlight app everything worked great. Please, help.

推荐答案

使用 HtmlAgilityPack-PCL nuget程序包与Windows Phone 8.1 XAML应用程序配合使用,可以正常工作,无需手动添加任何引用.

Use the HtmlAgilityPack-PCL nuget package with Windows Phone 8.1 XAML apps, it works fine with no need to add any references manually.

这篇关于Windows Phone 8.1 HubApp + HtmlAgilityPack的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆