Skip to content

vibeeshan025/Chrome.Net

Repository files navigation

Chrome.Net

This is a fork of Xilium.CefGlue (https://bitbucket.org/xilium/xilium.cefglue/overview ) to get more public support, Git based instead of original Hg based. More easy to use approach than original.

CEF (Chromium Embedded Framework) Glue for .Net

CefGlue is basically .net wrappers aroud CEF (Chromium Embedded Framework).

CEF is a BSD-licensed open source project founded by Marshall Greenblatt in 2008 and based on the Google Chromium project. Unlike the Chromium project itself, which focuses mainly on Google Chrome application development, CEF focuses on facilitating embedded browser use cases in third-party applications. CEF insulates the user from the underlying Chromium and Blink code complexity by offering production-quality stable APIs, release branches tracking specific Chromium releases, and binary distributions. Most features in CEF have default implementations that provide rich functionality while requiring little or no integration work from the user. There are currently over 100 million installed instances of CEF around the world embedded in products from a wide range of companies and industries. A partial list of companies and products using CEF is available on the CEF Wikipedia page. Some use cases for CEF include:

Why Chrome.Net

Feature CefSharp Original CefGlue Chrome.Net
Minimum .Net version .Net 4.5.2 .Net 4.0 .Net 4.0
CPU x86 or x64 at a time x86 or x64 at a time Any CPU
Other Dependancies VC++ 2012/2013 Redistributable No No
Binary Distribution Nuget, Binaries No (Source Code only) Nuget, Binaries
Documentation High No High
Full CEF API access Limited High High

Build the code from scratch.

  1. Run the solution in VS 2017 or higher (Tested with community edition).
  2. Set CefGlue.Demo.WPF or any (CefGlue.Demo.*) as startup project.
  3. Refer the variable called CEF_VERSION in CefGlue\Interop\version.g.cs
  4. Goto http://opensource.spotify.com/cefbuilds/index.html and search for build used in CEF_VERSION
  5. Create Two folders in your output directory (debug/release) called x86 and x64.
  6. Download Minimal Distribution or Sample Application inside Windows 32-bit Builds
  7. If you are using Sample Application binary copy all the files inside Release folder except cefclient.exe to your x86 folder. If you are using Minimal Distribution then copy files inside Release and Resources folders to your x86 folder.
  8. Do the smae steps for x64 (download x64 and copy it to x64)
  9. You can remive any *.lib, since they are not required for production.
  10. Now you will be able to build and run the solution.