by GlennSGC » Fri Feb 17, 2023 9:44 am
I looked at the StackTrace in the exception and it shows CefSharp.Cef.get_IsInitialized()
Source: "CefSharp.Core"
FileName: "CefSharp.Core.Runtime.dll"
More details:
System.IO.FileLoadException
HResult=0x8007007F
Message=A procedure imported by 'CefSharp.Core.Runtime.dll' could not be loaded.
Source=CefSharp.Core
StackTrace:
at CefSharp.Cef.get_IsInitialized()
at CefSharp.WinForms.ChromiumWebBrowser.InitializeFieldsAndCefIfRequired()
at CefSharp.WinForms.ChromiumWebBrowser..ctor(String address, IRequestContext requestContext)
There are 2 CefSharp.Core.Runtime.dll files. One in x86 and at x64 but they are different file sizes. Both are v110.0.250
x86 is 1,361 KB
x64 is 1,762 KB
I did all CefSharp updates from Visual Studio Project->Manage Nuget Packages
I forgot to mention. My development PC still is using Windows 7 Pro and my Chrome Browser is not receiving any more updates. Does that matter?
It has to be a bug in the latest v110.0.25 release because as I said... If I revert back to the previous release v109.1.11 the problem goes away.