You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched both open/closed issues, no issue already exists.
CefSharp Version
125.0.210
Operating System
Windows 10
Architecture
x64
.Net Version
.NET 8
Implementation
WinForms
Reproduction Steps
In a SelfContainedWinFormsx64 project, use any method mentioned anywhere (docs, github, SO) with the current cefsharp version and it will be impossible to put the cefsharp spedific files into a subdirectory.
Not even moving them in an AfterBuild target will work.
Various crashes, from "Breakpint has been reached" to not finding DLLs that are there.
And locales are copied twice, one extra time from the example project in a AfterBuild target. (?)
I'm pretty sure this is a bug (since it destroyed 3 of my projects and I have to migrate to WebView2 real quick now), but if it's not, I would be really interested in why 🤔
Expected behavior
ANY way (no matter how cumbersome) to put the cefsharp files into a dedicated subdirectory.
Actual behavior
It is impossible, atm.
Regression?
Worked perfectly with CefSharpTargetDir.
Known Workarounds
None. (Some of the older forum entries had a workaround, but none of them are functioning anymore)
Does this problem also occur in the CEF Sample Application
Yes using WinForms command line args
Other information
Funnily, libcef.dll has to be in at least two places now, to make LocalesDirPath work at all. 😄
The text was updated successfully, but these errors were encountered:
@HaukHuang I couldn't get it working and spent a lot of time on it. If there is a solution, I still don't know about it.
I ended up splitting the app in two parts, where only one has references to CefSharp and the other runs in its own process/AppDomain. 🤷
Is there an existing issue for this?
CefSharp Version
125.0.210
Operating System
Windows 10
Architecture
x64
.Net Version
.NET 8
Implementation
WinForms
Reproduction Steps
In a
SelfContained
WinForms
x64
project, use any method mentioned anywhere (docs, github, SO) with the current cefsharp version and it will be impossible to put the cefsharp spedific files into a subdirectory.Not even moving them in an AfterBuild target will work.
Various crashes, from "Breakpint has been reached" to not finding DLLs that are there.
And locales are copied twice, one extra time from the example project in a AfterBuild target. (?)
I'm pretty sure this is a bug (since it destroyed 3 of my projects and I have to migrate to WebView2 real quick now), but if it's not, I would be really interested in why 🤔
Expected behavior
ANY way (no matter how cumbersome) to put the cefsharp files into a dedicated subdirectory.
Actual behavior
It is impossible, atm.
Regression?
Worked perfectly with
CefSharpTargetDir
.Known Workarounds
None. (Some of the older forum entries had a workaround, but none of them are functioning anymore)
Does this problem also occur in the CEF Sample Application
Yes using WinForms command line args
Other information
Funnily,
libcef.dll
has to be in at least two places now, to makeLocalesDirPath
work at all. 😄The text was updated successfully, but these errors were encountered: