-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Quick Start
Alex Maitland edited this page Dec 14, 2019
·
47 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
x86
or x64set your **Solution Target** architecture to
x86or
x64`, 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
AnyCPU
is now supported see https://github.com/cefsharp/CefSharp/issues/1714 - Embedded UI Guide
- 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).