大家好
我知道这个问题(Chromium working on UWP)之前(2015/2016)有人问过,想看看有没有更新
我正在尝试在 UWP 应用程序中使用 CEF3 构建,但在运行该应用程序时在 CefInitialize 中出现以下错误 CefInitialize(main_args, settings, app.get(), sandbox_info); [settings.multi_threaded_message_loop = false;]
FATAL:platform_channel_pair_win.cc(44)]:访问被拒绝。 (0x5) [0718/135937.758:FATAL:platform_channel_pair_win.cc(60)]:系统找不到指定的文件。 (0x2)
还有多个警告
消息:[minkernel\mrt\mrm\src\mrmmin\resourcemap.cpp] onecoreuap\base\mrt\runtime\src\cresourceindexinternal.cpp(1479)\MrmCoreR.dll!00007FFE923B3890: (caller: 00007FFE923ACEC7) ReturnHr(252) tid(7a5c) 80073B1F ResourceMap 未找到。
尝试使用 CEfSharp。在 UWP 应用程序中使用了 OffScreen Nuget 包,但出现构建错误(相同的代码在控制台应用程序中有效)
Xaml 内部错误错误 WMC9999:在模块 System.ServiceModel.dll 中找不到类型 System.ServiceModel.ServiceHost。
长期以来一直坚持这一点,我们将不胜感激
最佳答案
简短的回答是 - 自 October 2020您可以打包 uwp pwa 以使用 chromium edge 运行。
最简单的方法是转到https://pwabuilder.com并在那里构建你的 pwa。
根据 Microsoft您可以稍后使用 VS 2017 编辑 list (已删除 vs0219 pwa uwp 模板)。
虽然我必须说 - 我无法通过 VS2017 运行本地基于 Chrome 的 pwa
祝你好运
关于uwp - UWP 应用程序中的 Chromium,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51400126/