Replies: 1 comment 10 replies
-
What .Net version are you using? Are you using a SDK style project or a nom SDK style project? See https://docs.microsoft.com/en-us/nuget/resources/check-project-format if you are unsure. Version 89.0.170 has quite a number of improvements to the Nuget packages, please try upgrading. If that doesn't resolve the problem then add a call to the CefSharpAfterBuildDiagnostic target after build in your project file. See |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found an exception while running some code on CefSharp 87.1.132.
The information in nuget management.
cef.redist.x64 & cef.redist.x86 v87.1.13
Cefsharp.common v87.1.132
Cefsharp.wpf v87.1.132
(This issue only happens on Debug-MixedPlatform, Release-x64, Release-MixedPlatform build)
code:
var webBrowser = new ChromiumWebBrowser(_options.StartUrl);
exception:
I have checked the dll and pdb files in my build output folder. (\bin\Debug-win32)
The file size are all the same with the specified file in Cefsharp runtime x86 folder(packages\CefSharp.Common.87.1.132\CefSharp\x86 and packages\CefSharp.Common.87.1.132\runtimes\win-x86\lib\netcoreapp3.0)
So, I'm not sure why there is an error while CefSharp.Cef.get_IsInitialized().
By the way, the code works correctly in Debug-x64 build.(however have the exception in Debug-MixedPlatform, Release-x64, Release-MixedPlatform)
Looking forward to your reply, thank you so much for your help.
Beta Was this translation helpful? Give feedback.
All reactions