由于扩展支持,我正在将我的应用程序从 Microsoft Edge WebView2 移植到 CefSharp,但是由于某种原因,
IWebBrowser
似乎被放置在隐藏或未安装的 DLL 中。
我添加了 xaml 命名空间和
ChromiumWebBrowser
控件。我该怎么办?丢失的 DLL 在哪里?
Visual Studio 建议我安装 CefSharp.Common NuGet 包,我照做了,但从未添加 DLL 或对其的引用。
它还说我应该添加对DLL的引用,但我不知道它在哪里。
当它建议Visual Studio 建议我安装 CefSharp.Common NuGet 包,我照做了,但从未添加 DLL 或对其的引用。
Visual Studio
时,
CefSharp.Common
是正确的。 IWebBrowser 是 CefSharp.dll
的一部分,打包在 CefSharp.Common
中。
您可以在 https://nuget.info/packages/CefSharp.Common/120.2.70 在线浏览该软件包,您可以在其中看到它位于
\lib\net462
文件夹中,如您所愿。