Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Hi I am new to CefBrowser .
When executing the solution from visual studio then the browser is working fine.
But after the development phase when i tried to load the Cef browser directly after deployment the browser is not loading .
The difference i found in the development and deployment stage is
When running from VS CefSharp.BrowserSubprocess.exe is running in the task manager
but its not running after the deployment .
Am i missing anything ? I have copied all the files from the debug folder too .
Arshad
–
–
–
Thanks @amaitland for the help and suggestions.
Issue got solved after
Initializing the CEF browser
and setting the absolute path for
CefSharp.BrowserSubprocess.exe
if (!Cef.IsInitialized)
CefSettings cefSettings = new CefSettings();
cefSettings.BrowserSubprocessPath = path; // **Path where the CefSharp.BrowserSubprocess.exe exists**
cefSettings.CachePath = "ChromiumBrowserControlCache";
cefSettings.IgnoreCertificateErrors = true;
Cef.Initialize(cefSettings);
Arshad
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.