Solution:
This issue is caused by not loading the CefRuntime in the Program.cs. Simply copying all code in the sample file to your Program.cs.
A
I also had the same problem,I solved it by modify "BrowserSubprocessPath",the defualt is like this:
//var browserProcessPath = CombinePaths(localFolder, "..", "..", "..",
// "CefGlue.Demo.WinForms", "bin", "Release", "Xilium.CefGlue.Demo.WinForms.exe");
var browserProcessPath = CombinePaths(localFolder, "Xilium.CefGlue.Demo.WinForms.exe");
var settings = new CefSettings
{
BrowserSubprocessPath = browserProcessPath,
SingleProcess = false,
MultiThreadedMessageLoop = true,
LogSeverity = CefLogSeverity.Disable,
LogFile = "CefGlue.log",
};
Because I had changed the application output directory,so the "browserProcessPath" is invalid,then I modify the "browserProcessPath" to match the output directory so that the application can find it.
But,I still can not understand the meaning and usage of "browserProcessPath "