Cef-Custom Build of CEF, CefSharp throws runtime exception
Posted: Mon Feb 13, 2023 11:39 am
Hi,
I am doing Custom build for CefSharp (v108.4.130) which drives me to build chromium embedded (CEF native) first. So, for this process I am doing following.
1) Custom build for CEF to get zip packages of version v108.4.13+ga98cd4c+chromium-108.0.5359.125 which essentially uses 5359 branch for CEF. This step produces 6 zip packages.
2) Creating NuGet packages for Cef-Binaries based on zip packages from step 1
3) And then building CefSharp, based on those cef binaries, and getting 7 NuGet packages from both step 2 and 3
However, when I use this CefSharp package (CefSharp.WinForms.108.4.130-surpass-release.nupkg)in my product it builds perfectly but throws runtime exception as bellow.
With further investigation I had found native dlls generated from my custom build, like libcef.dll, libEGL.dll, chrome_elf.dll are much different in size from standard NuGet package files.
Can you please tell what I am potentially missing, in the process , that I am getting this exception?
Any help will be appreciated.
Thanks
Awais
I am doing Custom build for CefSharp (v108.4.130) which drives me to build chromium embedded (CEF native) first. So, for this process I am doing following.
1) Custom build for CEF to get zip packages of version v108.4.13+ga98cd4c+chromium-108.0.5359.125 which essentially uses 5359 branch for CEF. This step produces 6 zip packages.
2) Creating NuGet packages for Cef-Binaries based on zip packages from step 1
3) And then building CefSharp, based on those cef binaries, and getting 7 NuGet packages from both step 2 and 3
However, when I use this CefSharp package (CefSharp.WinForms.108.4.130-surpass-release.nupkg)in my product it builds perfectly but throws runtime exception as bellow.
With further investigation I had found native dlls generated from my custom build, like libcef.dll, libEGL.dll, chrome_elf.dll are much different in size from standard NuGet package files.
Can you please tell what I am potentially missing, in the process , that I am getting this exception?
Any help will be appreciated.
Thanks
Awais