在 dotnet core v1.0 中使用 HtmlAgilityPack NuGet 包

Using HtmlAgilityPack NuGet package in dotnet core v1.0

我正在尝试在 netcoreapp1.0 中使用 HtmlAgilityPack nuget 包(我仅限于此版本,因为 AWS Lambda 仅支持它)。我应该使用哪个版本的 HtmlAgilityPack 包?重点是 .NETStandardLibrary 1.6.0 仅与 netcoreapp1.0 兼容,但我没有看到任何与 .NETStandardLibrary 1.6.0 兼容的 HtmlAgilityPack 版本。我能看到的最低版本是 .NETStandardLibrary 1.6.1 但这是针对 netcoreapp1.1 的。

From a .NET Standard API prospective nothing changed between NETStandard.Library 1.6.1 and 1.6.0. We only bumped the version of the meta-package so that we could pull in newer versions of the dependent packages which contain implementation fixes but no real new API surface for NS1.6.

请参阅 DotNet 标准存储库中的问题 #171 What's the change in NetStandard.Library 1.6.1 vs 1.6.0?

即使没有 HtmlAgilityPack 兼容(或针对)netstandard1.6,但有一个 netstandard1.6.1 我也会自己构建它,将 netstandard v1.6.1 nuget 包替换为 netstandard v1.6 包(HtmlAgilityPack 是开源的 - 对 :))。

最重要的是没有netstandard1.6.1,它从来没有发布过,甚至没有开发过,v1.6.1只代表[=22的版本=] NuGet 包.