Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Building CefSharp

perlun edited this page Apr 23, 2013 · 5 revisions

Updated: March 18, 2012

Requirements

Microsoft Visual Studio 2008 (e.g. Visual Studio 2012 gives a bunch of compilation errors)

Buildling CefSharp

CefSharp includes the necessary files from the Chromium and CEF projects to build and run CefSharp in the Release configuration. The output directories of the CefSharp.WinForms.Example and CefSharp.Wpf.Example projects are the toplevel Debug and Release directories.

The following files are included from the CEF project:

  • libs/: Build time libraries
  • include/: CEF header files.
  • Release/: Run time files. Debug builds are not checked into the CefSharp repo, as they are considerably larger.

Buildling CEF

Build instructions are available on the CEF project homepage. After successfully buildling CEF, you must rebuild the libcef_dll_wrapper project with modified runtime library flags (Release: /MD, Debug: /MDd) using these instructions. Note that disabling the "Treat Warnings As Errors" options must also be disabled.

To import the built CEF files into the CefSharp project, use the included update_from_cef.sh script.

Clone this wiki locally