First of all, thank you for the great effort of enabling .NET core support. I tried updating our kiosk software from net48
to net5.0-windows
. Using the latest pre-release this was quite easy. But when I published the application using a self-contained runtime it would run but was unable to render the web browser control. After a bit of experimenting I noticed that if I copy all CefSharp
assets to a separate directory and changed CefSettings.BrowserSubprocessPath
property to Path.Combine(currentDirectory, "cefsharp", "CefSharp.BrowserSubprocess.exe")
and not deleting the aforementioned assets from the publish directory everything works as it should.
What version of the product are you using?
What architecture x86 or x64?
On what operating system?
Are you using WinForms
, WPF
or OffScreen
?
What steps will reproduce the problem?
git clone https://github.com/cefsharp/CefSharp.MinimalExample.git
CefSharp.MinimalExample.Wpf.csproj
target framework to net5.0-windows
CefSharp.Wpf.NETCore
package reference to 88.2.40-pre
cd CefSharp.MinimalExample
dotnet publish .\CefSharp.MinimalExample.netcore.sln -c Release --runtime win-x64 --self-contained
.\CefSharp.MinimalExample.Wpf\bin.netcore\x64\Release\net5.0-windows\win-x64\publish\CefSharp.MinimalExample.Wpf.netcore.exe
What is the expected output? What do you see instead?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4