app.config里加入
<runtime>
<!--自定义动态库加载目录-->
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Sdk\Cef;"/><!--bin目录下cef库的目录-->
</assemblyBinding>
</runtime>
应用程序运行时初始化一下BrowserSubprocessPath
CefSharp.CefSettings settings = new CefSharp.CefSettings();
settings.LocalesDirPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Sdk\Cef\locales");
settings.Locale = "zh-CN";
settings.BrowserSubprocessPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Sdk\Cef\CefSharp.BrowserSubprocess.exe");
CefSharp.Cef.Initialize(settings);