From: Rob V. <rv...@do...> - 2011-01-05 12:34:52
|
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 |