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?
- Install .NET 5.0.3 SDK
git clone https://github.com/cefsharp/CefSharp.MinimalExample.git
- Change
CefSharp.MinimalExample.Wpf.csproj target framework to net5.0-windows
- Update
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?
- The application starts but is fails to load google.com website
First of all, thank you for the great effort of enabling .NET core support. I tried updating our kiosk software from
net48tonet5.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 allCefSharpassets to a separate directory and changedCefSettings.BrowserSubprocessPathproperty toPath.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,WPForOffScreen?What steps will reproduce the problem?
git clone https://github.com/cefsharp/CefSharp.MinimalExample.gitCefSharp.MinimalExample.Wpf.csprojtarget framework tonet5.0-windowsCefSharp.Wpf.NETCorepackage reference to88.2.40-precd CefSharp.MinimalExampledotnet 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.exeWhat is the expected output? What do you see instead?