From: Rob V. <ra...@ec...> - 2011-01-07 09:06:28
|
Thanks for those Peter Have it building fine now - not done any testing myself yet as trying to get new stuff and changes/fixes done for the 0.4.0 release (either late Jan/Feb) first before I move into a testing phase closer to the release. Thanks again Rob From: Peter Kahle [mailto:pk...@ka...] Sent: 05 January 2011 14:51 To: 'Rob Vesse'; 'dotNetRDF Developer Discussion and Feature Request' Subject: Re: [dotNetRDF-develop] [dotNetRDF-bugs] patch to support WP7 Oops. Here's the two files I left out (Compatibility/HashSet.cs and Properties/AssemblyInfo.cs). The only tweak I made in the HAP project (which is called HAPPhone in the source distro) was to change the AssemblyProduct to HtmlAgilityPack.windowsphone, from the default of HtmlAgilityPack. I was trying to mirror the Silverlight version, which is also simply HtmlAgilityPack in the current release, but HtmlAgilityPack.silverlight in the one included with dotNetRDF. I'm attaching the assembly as well, we'll see if it's stripped by binary filters. If so, I'll resend with the extension changed. Thanks, Peter From: Rob Vesse [mailto:rv...@do...] Sent: Wednesday, January 05, 2011 07:31 To: 'dotNetRDF Developer Discussion and Feature Request' Cc: pk...@ka... Subject: RE: [dotNetRDF-bugs] patch to support WP7 Hi Peter Thanks a lot for this J I wasn't able to just apply the patch but was simple enough just to copy and paste the data out of the patch file into the appropriate places as was a small patch. Did you actually tweak the WinPhone version of HtmlAgilityPack itself or did you mean you tweaked the project file to use it instead of the Silverlight one? If you did change it yourself can you let me have the DLL you used Also do you have the Compatability/HashSet.cs file you referenced in the project file or is it the same as the unfinished one I created for the aborted compact framework build? Many Thanks, Rob Vesse From: Peter Kahle [mailto:pk...@ka...] Sent: 05 January 2011 02:49 To: dot...@li... Subject: [dotNetRDF-bugs] patch to support WP7 Haven't had a chance to test this as much as I'd like, and I'm starting to get swamped, so I thought I'd send it along so it doesn't rot. It works for the simple stuff, loading, searching in-memory using simple selectors, etc. I haven't had a chance to test SPARQL, and I'm almost certain using remote endpoints will have issues. I really didn't do anything but add a new project template for Windows Phone that mimics the Silverlight one, and link it into the NAnt build. Oh, and I grabbed a copy of the WinPhone version of the HtmlAgilityPack, tweaked it slightly to mimic the way you have it set up for Silverlight, and included that. I'm not certain that the Silverlight version wouldn't work as well. I had to include a little kluge to support compiling in my environment (64bit machines, 64bit build of NAnt), because Silverlight and WP7 require use of the 32bit tools rather than the 64bit. I've left it in here, but feel free to drop it if you think it's too specialized. (I actually had to use the same code in the compile-silverlight target, but I decided not to send that along. Let me know if you want it) Though it should work cleanly on 32bit machines as well. It's really something that should be fixed/added into NAnt proper, but I'm not in a position to create a patch. Also note that I'm using git to wrap SVN on my machine, so the patch may be a little funky. Let me know and I'll see if I can generate something cleaner. Thanks, Peter |