-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Quick Start
Alex Maitland edited this page Dec 13, 2019
·
48 revisions
CefSharp is distributed as Nuget packages which can get installed in Visual Studio via the Nuget Package Manager. CefSharp is Windows only (a limitation of VC++ which CefSharp is built with).
To get started with CefSharp checkout the CefSharp.MinimalExample. There are basic working examples of the WinForms, WPF and OffScreen versions (c# only).
The General Usage Guide has details on many of the features currently available and is updated fairly regularly.
For details on using CefSharp and targeting AnyCPU please see https://github.com/cefsharp/CefSharp/issues/1714
- https://github.com/cefsharp/CefSharp.MinimalExample/tree/demo/anycpu
- https://github.com/cefsharp/CefSharp.MinimalExample/tree/demo/anycpuprefer32bit
-
https://github.com/cefsharp/CefSharp.MinimalExample/tree/demo/anycpucopyfiles
For
x86or x64set your **Solution Target** architecture tox86orx64`, just changing the project target is currently not enough (See https://msdn.microsoft.com/en-us/library/ms185328.aspx#Anchor_0 for details).
The following articles are rather outdated, they are listed here for historic reference only.
-
How to use CefSharp in a Winforms application - Note that
AnyCPUis now supported see https://github.com/cefsharp/CefSharp/issues/1714 - Embedded UI Guide
- Embedding Chrome in your C# App using CefSharp (Make sure you use the Nuget packages, don't follow the copy assemblies yourself option).
- If You Like It, Put a HTML5 UI on It
- Quick Start Guide (This guide is outdated, if someone has a newer one please add a link).