Can't run Xilium. CefGlue built on Visual Studio 2012

我的未来我决定 提交于 2019-12-05 22:50:44

Ok, here's the steps I used to get the samples working in VS 2012:

  1. Get the code from Xilium.CefGlue on github. (The one I used was c3d674a3a8)
  2. Open the Xilium.CefGlue solution in VS2012
  3. Remove or don't build the CefGlue.Demo.GtkSharp project (it didn't interest me & I didn't have the needed libraries)
  4. In the Configuration Manager, select Active Solution Platform to be x86
  5. Ensure that the target framework settings cooperate between projects. (e.g. CefGlue.Demo & CefGlue.Demo.WinForms by default are v2.0, but they depend on CefGlue which is v4.5) (For simplicity I set them all to v4.0 Client profile and it worked.)
  6. Build solution — should succeed
  7. Copy Xilium files from the unzipped cef_binary_3.1453.1236_windows_xilium to the output folder (bin\x86\Debug or bin\x86\Release). Minimum requirement seems to be:
    • libcef.dll and icudt.dll from .\Debug or .\Release
    • cef.pak and the locales\ folder from .out\Debug or .\Resources
  8. Set CefGlue.Client as the StartUp Project
  9. Run it
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!