Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3k
Building CefSharp
Information contained on this page is out of date.
Requirements:
- Visual Studio 2019:Supported
- Visual Studio 2017:Supported
- Visual Studio 2015:Supported
- Visual Studio 2013:Not Supported
- Visual Studio 2012:Not Supported
- Visual Studio 2010:Not Supported, if you rebuild the
cef.sdkNuGet viacef-binary'sbuild.ps1yourself first. See issue#810. - Visual Studio 2008/.NET 3.5:Not supported any more, but can be used witholder CefSharp versions if you really must have .NET 3.5 support.
- Visual Studio 2005: Dream on... :)
Since commitd3a1f1d the native upstream stuff in theCEF/ folder is now all gone from themaster branch. It now relies on that you do aNuGet Restore to pull in thecef.sdk andcef.redist nativeCEF packages into yourpackages/ folder before you can build CefSharp.
After a successful NuGetRestore to build you simply open CefSharp3.sln and run Build All.
To run one of the example applications, right click on either the CefSharp.Wpf.Example or CefSharp.WinForms.Example project and choose "Set as Startup Project". Then press F5.
To start building your own WPF application from scratch seehttps://github.com/cefsharp/CefSharp/blob/master/README.WPF.md or take a look at the CefSharp "Hello World" application in theCefSharp.MinimalExample repo.
The CefSharp project comes with all the files you need to be able to build, run and use the project including the libcef dll and lib files.
To build simply open CefSharp.sln and run Build All.
To run one of the example applications, right click on either the CefSharp.Wpf.Example or CefSharp.WinForms.Example project and choose "Set as Startup Project". Then press F5.
Note: Only the Release folder contains the required CEF dependency files. You either have to switch to the "Release" target in Visual Studio (usually located quite close to the main menu of the program), or copy the files manually from
New instructions for buildingCEF can be found athttps://github.com/cefsharp/cef-binary/wiki/Building-Cef-from-source