HTML Agility Pack for Windows Phone 7 (WP7)

So I've noticed some tweets recently on if/how the HTML Agility Pack can be used in WP7 development. I looked into it a bit while working on the Drudge Buddy app, and what I found is that you can use it, but you have to compile the dll yourself. Here's what you do:

Go to the HTML Agility Pack Codeplex site:  http://htmlagilitypack.codeplex.com/

Select the "Source Code" menu item, and then "download" the "Latest Version". You'll want to extract this somewhere on your hard drive.

Now, go into the directory where you extracted the files, and look for the "Truck/HAPPhone" folder. There should be a "csproj" file. Load this into Visual Studio. At this point, you should be able to compile the HAPPhone project and create the dll you need. You can then include this dll file as a reference in your WP7 project and begin using the HTML Agility Pack in your project. 

Keep in mind that the HAPPhone project does not include all the functionality that the main project does. So, you can use the tutorials on the Codeplex page (and others) to get an understanding of how it works, but you may have to modify the way you actually parse the data.

Anyway, good luck!
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值