[X] 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. 😄
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. 😄