Our application uses WPF, .NET Framework 8, CefSharp.Wpf and cef.redist.x64.
We currently support only Windows x64 operating systems, but we are working on supporting Windows ARM64 also. Windows on Arm can run unmodified x86 and x64 apps via Arm64EC (Emulation Compatible).
Our app installs and runs without any issues on Windows ARM64, thanks to Arm64EC. However, when we try to initialize CEFSharp (Cef.Initialize), it throws the following exception:
Could not load file or assembly 'CefSharp.Core.Runtime.dll' or one of its dependencies. The specified module could not be found.
Presumably, this is because CefSharp determines the runtime environment to be neither x86 nor x64, which appear to be the only supported architectures for Windows.
Is there any way to initialize CefSharp and force it to run as x64 in compatibility mode?