Skip to content
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
C# C++ HTML CSS PowerShell JavaScript
Branch: master
Clone or download

Latest commit

amaitland Tests - Add OffScreenBrowserBasicFacts.CanExecuteJavascriptInMainFram…
…eAfterNavigatingToDifferentOrigin

Confirm CanExecuteJavascriptInMainFrame is true after navigating to a different origin

Resolves #3021
Latest commit b86a3ac May 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Bug Report Template - Add additional command line args. Apr 28, 2020
CefSharp.BrowserSubprocess.Core Upgrade to CEF 81.3.10+gb223419+chromium-81.0.4044.138 May 15, 2020
CefSharp.BrowserSubprocess Upgrade version number to 81.3.20 May 8, 2020
CefSharp.Core Core - Cef.GetMimeType custom/fallback mimeType mapping May 18, 2020
CefSharp.Example Core - Ensure CachePath/RootCachePath/LocalesDirPath/BrowserSubproces… May 3, 2020
CefSharp.OffScreen.Example Upgrade to CEF 81.3.10+gb223419+chromium-81.0.4044.138 May 15, 2020
CefSharp.OffScreen WPF/WinForms/OffScreen - CanExecuteJavascriptInMainFrame incorrectly … May 4, 2020
CefSharp.Test Tests - Add OffScreenBrowserBasicFacts.CanExecuteJavascriptInMainFram… May 18, 2020
CefSharp.WinForms.Example Upgrade to CEF 81.3.10+gb223419+chromium-81.0.4044.138 May 15, 2020
CefSharp.WinForms.Test Maintenance - Fixed formatting, file encoding, and copyright year (#2504 Sep 10, 2018
CefSharp.WinForms WinForms - Form minimise set browser size to 0,0 May 4, 2020
CefSharp.Wpf.Example Upgrade to CEF 81.3.10+gb223419+chromium-81.0.4044.138 May 15, 2020
CefSharp.Wpf WPF/WinForms/OffScreen - CanExecuteJavascriptInMainFrame incorrectly … May 4, 2020
CefSharp Core - Cef.GetMimeType custom/fallback mimeType mapping May 18, 2020
NuGet PackageReference - Tabs to spaces Feb 1, 2020
old Maintenance - Fixed formatting, file encoding, and copyright year (#2504 Sep 10, 2018
.editorconfig .editorconfig - Add javascript formatting section Jul 17, 2019
.gitattributes add *.vcproj to .gitattributes Mar 7, 2013
.gitignore Added DownloadItem .OriginalUrl (#1877) Dec 4, 2016
.vsconfig Visual studio 2019 support (does not do by default) also bumped SDK t… Oct 6, 2019
Build.bat Added build.bat script for slightly more convenient NuGet compiling Jan 7, 2015
CONTRIBUTING.md Update CONTRIBUTING.md Apr 17, 2020
CefSharp.Native.props Upgrade to CEF 3.3239.1700 Dec 19, 2017
CefSharp.props VS2019 Support - Set VisualStudioProductVersion to VS2019 if libcef_d… Nov 3, 2019
CefSharp.shfbproj Upgrade version number to 81.3.20 May 8, 2020
CefSharp.snk - BrowserControl now derived from Control. Dec 9, 2010
CefSharp3.ChildProcessDbgSettings VS2017 build support (using the VS2015 tooling) (#2179) Nov 29, 2017
CefSharp3.sln AppVeyor - Enable Unit Tests on Build (#3065) Feb 29, 2020
CefSharp3.sln.DotSettings Add new Resharper settings (upgraded to new version) May 21, 2015
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md Feb 2, 2019
LICENSE Build.ps1 - Automated more tasks relating to updating CefSharp versio… Feb 15, 2019
NuGet.config NuGet.config - Add appveyor cef-binary project feed Dec 29, 2017
README.WPF.md correction -> new CefSettings not new Settings Dec 12, 2014
README.md Update README.md May 10, 2020
afterbuild.example.ps1 add after build script example that shows how to automatically upload… Oct 14, 2014
appveyor.yml Upgrade version number to 81.3.20 May 8, 2020
build.ps1 Upgrade version number to 81.3.20 May 8, 2020
buildhelp.bat Sandcastle help - Add batch file for building Sep 5, 2018
logo.png fix documentation links Dec 8, 2015

README.md

CefSharp Logo

Build status CefSharp.WinForms CefSharp.Wpf CefSharp.OffScreen

Got a quick question? Jump on Gitter

CefSharp lets you embed Chromium in .NET apps. It is a lightweight .NET wrapper around the Chromium Embedded Framework (CEF) by Marshall A. Greenblatt. About 30% of the bindings are written in C++/CLI with the majority of code here is C#. It can be used from C# or VB, or any other CLR language. CefSharp provides both WPF and WinForms web browser control implementations.

CefSharp is BSD licensed, so it can be used in both proprietary and free/open source applications. For the full details, see the LICENSE file.

If you like and use CefSharp please consider signing up for a small monthly donation, even $25 can help tremendously. See Financial Support for more details.

Releases

Stable binaries are released on NuGet, and contain everything you need to embed Chromium in your .Net/CLR application. For usage see the Quick Start guide or FAQ #8.

Documentation

  • See the CefSharp.Wpf.Example or CefSharp.WinForms.Example projects for example web browsers built with CefSharp. They demo most of the available features.
  • See the CefSharp.MinimalExample project for a basic demo of using the CefSharp NuGet packages.
  • See the General Usage Guide in help getting started/dealing with common scenarios.
  • See the Wiki for work-in-progress documentation
  • See the FAQ for help with common issues
  • Upgrading from an earlier version of CefSharp? See the ChangeLog for breaking changes and upgrade tips.
  • CefSharp API generated from the source code comments.

Contact

If you have a very simple question please start by asking it on Gitter. Please keep the Issue Tracker for Bugs only please! Before submitting a PR please read CONTRIBUTING

Stackoverflow is generally where questions should be asked, please search before posting, thanks!

Branches & Forks

This is the official CefSharp fork, as maintained by the CefSharp community. You can also view the entire network of public forks/branches.

Development is done in the master branch. New features are preferably added in feature branches, if the changes are more than trivial. New PR's should be targeted against master.

When a new release is imminent a release branch is created. We try to avoid making public facing API changes in release branches (Adding new features is fine, just not breaking changes).

Releases

CI Builds
Every commit on master produces a Nuget package. Use at your own risk!

  • MyGet Pre Release
  • MyGet Pre Release
  • MyGet Pre Release

Pre-release

  • CefSharp.WinForms
  • CefSharp.Wpf
  • CefSharp.OffScreen

Stable

  • CefSharp.WinForms
  • CefSharp.Wpf
  • CefSharp.OffScreen

Release Branches

With each release a new branch is created, for example the 79.1.360 release corresponds to the cefsharp/79 branch. If you're new to CefSharp and are downloading the source to check it out, please use a Release branch

Branch CEF Version VC++ Version .Net Version Status
master 4044 2015 4.5.2 Development
cefsharp/81 4044 2015 4.5.2 Pre-Release
cefsharp/79 3945 2015 4.5.2 Release
cefsharp/77 3865 2015 4.5.2 Unsupported
cefsharp/75 3770 2015 4.5.2 Unsupported
cefsharp/73 3683 2015 4.5.2 Unsupported
cefsharp/71 3578 2015 4.5.2 Unsupported
cefsharp/69 3497 2015 4.5.2 Unsupported
cefsharp/67 3396 2015 4.5.2 Unsupported
cefsharp/65 3325 2015 4.5.2 Unsupported
cefsharp/63 3239 2013 4.5.2 Unsupported
cefsharp/62 3202 2013 4.5.2 Unsupported
cefsharp/57 2987 2013 4.5.2 Unsupported
cefsharp/55 2883 2013 4.5.2 Unsupported
cefsharp/53 2785 2013 4.5.2 Unsupported
cefsharp/51 2704 2013 4.5.2 Unsupported
cefsharp/49 2623 2013 4.0 Unsupported
cefsharp/47 2526 2013 4.0 Unsupported
cefsharp/45 2454 2013 4.0 Unsupported
cefsharp/43 2357 2012 4.0 Unsupported
cefsharp/41 2272 2012 4.0 Unsupported
cefsharp/39 2171 2012 4.0 Unsupported
cefsharp/37 2062 2012 4.0 Unsupported

Financial Support

To continue developing/supporting the project I (@amaitland) am asking for financial contributions. Donations of any size are greatly appreciated!

Recurring contributions can be made through GitHub Sponsors it only takes a GitHub account and a credit card. Currently GitHub is doubling(!) all pledges so is very much the preferred method of donation. I can also take contributions through PayPal.

Now that I (@amaitland) am a stay at home dad your contributions are the only reason I'm allowed to continue working on the project. Without continued funding the time I currently spend on the project will have to be put into finding other paid work.

Links

Projects using CefSharp

  • HtmlView : Visual Studio extension bringing CefSharp for showing HTML pages inside VS.
  • SharpBrowser : The fastest web browser for C# with tabbed browsing and HTML5/CSS3.
You can’t perform that action at this time.