我知道在Windows Phone应用程序中使用HAP非常成问题,但我非常需要。所以问题是,当我从silverlight 5或4添加System.Xml.XPath时,出现“Xaml内部错误错误WMC9999”。需要注意的是,HAP的版本是1.4.6,但不是1.4.9(最新版本),因为它不能从NuGet安装(只是不添加引用),我没有找到链接来下载它手动。 在旧的Windows Phone 8 silverlight应用程序一切都很好。 请帮忙。Windows Phone 8.1 HubApp + HtmlAgilityPack
0
A
回答
0
使用HtmlAgilityPack-PCL nuget包与Windows Phone 8.1 XAML应用程序,它工作正常,无需手动添加任何引用。
+0
这不是HAP的完整版本,但它确实有效。但我换了另一种方式:我从HAP 1.4.6的winrt45文件夹中取得了dll。它和HAP-PCL一样,我想。最大的缺点是winrt45和PCL版本没有XPath支持。所以我不得不将所有的XPath字符串查询改为linq查询,当然我不喜欢这种方法,但我想没有其他出路。 – 2014-11-05 07:57:01
相关问题
- 1. 如何在Windows Phone 8.1上使用HtmlAgilityPack?
- 2. Windows Phone的8.1
- 3. Windows Phone 8.1 WebAuthenticationBrokerContinuationEventArgs
- 4. Windows Phone 8.1 IRC
- 5. Windows Phone 8.1上的WebRtc 8.1
- 6. Windows Phone 8.1 MainPage Frame.navigate
- 7. 与Windows Phone 8.1 Dropdownlist
- 8. Mutex和Windows Phone 8.1
- 9. Windows Phone 8.1 MapControl空
- 10. System.NullReferenceException的Windows Phone 8.1
- 11. 与Windows Phone的8.1
- 12. LightInject for windows phone 8.1
- 13. (Windows phone 8.1)在windows phone 8.1创建圆角图像按钮
- 14. Windows Phone Silverlight 8.1和Windows Phone 8.1开发之间的区别
- 15. MenuFlyout在Windows 8.1中的GridView中的项目HubApp
- 16. Windows Phone 8.1应用签名
- 17. Windows Phone 8.1 ListView列宽
- 18. Windows Phone 8.1 PDF查看器
- 19. 不包含的Windows Phone 8.1
- 20. Windows Phone 8.1中的延迟
- 21. Windows phone 8.1按钮造型
- 22. windows phone 8.1中的writeablebitmap
- 23. Windows Phone 8.1单元测试
- 24. IF语句Windows phone 8.1
- 25. Windows Phone 8.1 MenuFlyout错误?
- 26. windows phone 8.1推送通知
- 27. Windows Phone 8.1用户ID
- 28. 的Windows Phone 8.1 RT ColorAnimation
- 29. windows phone 8.1中的MessageDialog Box?
- 30. Windows Phone 8.1上的ZeroMQ?
您是否尝试过从dll手动添加参考? – crea7or 2014-11-03 03:00:21
是的,我手动为Silverlight 5和system.xml.xpath添加了HAP 1.4.6。 – 2014-11-03 07:31:05