Need suggestions for my approach of putting cef related files into subfolder #3371
Replies: 2 comments 3 replies
-
The browsersubprocess is now defaulted to the same location as the CefSharp.Core.dll, this in most instances is correct and only needs changing in rare cases.
Looks fine. Did you have a specific question? Be aware that that version 87 will bring some changes to the nuget packages see #3319 for details. |
Beta Was this translation helpful? Give feedback.
-
У меня CefSharp 109 в Windwos 7 работает probing privatePath, а в Windows 10 уже пишет:
Помогла установка VC++ x86 и x64: |
Beta Was this translation helpful? Give feedback.
-
By default cef puts all the files in the root folder of the program, which is kinda messy.
Over the years there has been some mentioning of it like #601 but those information are fairly old.
For now here's my practice after gathering many informations from old issues:
cef_in_subfolder
) from Visual Studio 2019.Then I have to manually edit two files:
cef_in_subfolder.csproj
and add following code to the first<PropertyGroup>
App.config
and add following code to the<configuration>
blockBasically at this point it's done, here's my
Form1.cs
I find that it's unnecessary to specify
BrowserSubprocessPath
,LocalesDirPath
orResourcesDirPath
as cef works just fine and I've tested changing Locale works too.It works and gives a very clean program root folder. However I didn't fully understand how CefSharp works thus I need some suggestions about this approach, mainly if there is something that's broken just I haven't tested it yet, and I'd love to know if there is a better approach.
Beta Was this translation helpful? Give feedback.
All reactions