From the Html Agility Pack download, which one of the 9 “HtmlAgilityPack.dll” do I use?

后端 未结 1 677
忘掉有多难
忘掉有多难 2021-01-18 15:49

There are nine folders in the downloaded zip file for HTML Agility Pack:

  • Net20
  • Net40
  • Net40-client
  • Net45
  • sl3-wp
  • sl4
相关标签:
1条回答
  • 2021-01-18 16:27

    The different versions are compiled against different .NET framework versions. Some frameworks, such as the WinRT or the Silverlight frameworks, have more limited functionality or require slightly different (and often slower) approaches to implement the features of the component you're using.

    You will want to use the HTML Agility Pack version that best matches your applications. So:

    • net20: .NET 2.0 and 3.5
    • net40-client: .NET 4.0 client profile
    • net40: .NET 4.0 full profile (incl server binaries)
    • net45: .NET 4.5
    • sl3-wp: Windows Phone 7.0
    • sl4: Silverlight 4.0
    • sl4-windowsphone71: Windows Phone 7.5
    • sl5: Silverlight 5.0
    • winrt45: Windows 8 Modern UI App

    When you want to use the component with multiple apps, choose the lowest common denominator.

    0 讨论(0)
提交回复
热议问题