CefSharp.OffScreen库是否与.NET Standard 2.0兼容?

问题描述 投票:-2回答:2

CefSharp.OffScreen库是否与.NET Standard 2.0兼容?特别是关于79.1.360版本。

而且,是否有通用的方法来检查特定的库是否与.NET Standard 2.0兼容?

c# compatibility cefsharp chromium-embedded .net-standard-2.0
2个回答
0
投票

CefSharp与.Net Standard 2.0不兼容

CefSharp使用VC ++构建,.Net Core仅在3.x版本中添加了对它的支持。

。Net标准由.Net Core 2.x实施

而且VC ++仅在Windows上运行,微软表示他们不打算支持跨平台。

有关Microsoft的官方回复,请作为参考https://devblogs.microsoft.com/cppblog/the-future-of-cpp-cli-and-dotnet-core-3/


0
投票

通常,如果软件包与.NET Standard兼容,您可以在NuGet.org上看到。

只需转到Dependencies部分。如果列出了.NET Standard,则它兼容。如果那里没有列出任何内容-可能还不清楚-但是它不太可能支持.NET Standard。

示例:

JSON.NET

https://www.nuget.org/packages/Newtonsoft.Json/12.0.3

支持.NET Standard 1.0+(并且仍然支持.NET Framework 2.0 +)

enter image description here

Cefsharp

https://www.nuget.org/packages/CefSharp.OffScreen/79.1.360

不支持.NET Standard,但支持.NET Core 3!

enter image description here

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.