Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: Port HtmlAgility Pack to Metro App

$
0
0

Porting an existing C# dll to be a full WinRT Metro assembly is not trivial. I recently gave a presentation on how to do this.

Here are the basic steps

  1. Take the existing experimental Win8 Metro C# project in the source control here on codeplex. Under the solutions folder you'll find the HtmlAgilityPack.Metro.sln file
  2. Next is to go through every public class and change it to sealed
  3. Then go through and make sure no fields are exposed publicly
  4. The ugly part is at hand, compile and start fixing any other compilation errors

I currently have not attempted to do this with HAP for a few reasons. 1 I know it may be a long process to get it all working and 2 it will probably introduce breaking changes for the other versions of HAP.


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>