CefSharp Example
Go to file
Alex Maitland 07049f5e62
Upgrade to 88.2.90 (#131)
* Upgrade to v88.2.40-pre

WPF - Add https scheme to default URL to workaround upstream issue
https://bitbucket.org/chromiumembedded/cef/issues/3079/cant-load-urls-without-scheme

* Net Core - Add AnyCPU Platform to projects/solution

* Net Core - Add RuntimeIdentifier based on PlatformTarget

- Set RuntimeIdentifier based on PlatformTarget (PlatformTarget isn't set of AnyCPU)
- Set SelfContained to false so as not to provide a Framework Dependant build (don't include the whole .net framework)

* WPF/WinForms - Change CefSharpBuildAction to Content

For testing of ClickOnce publish

* Net 5.0 - Update to include PublishSingleFile settings

- .Net 5.0 Publish Settings for PublishSingleFile
  https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file
  Defaults differ compared to .Net Core 3.1
- Set RollForward to Major so runs on newer runtime version
- Add net5.0-windows TargetFramework

* .Net 5.0 - Publish Single Exe Example

- Use the main application exe as the BrowserSubprocess when self publishing a .Net 5.0 exe
- Only the WPF and WinForms examples have been updated

https://github.com/cefsharp/CefSharp/issues/3407

* Upgrade to 88.2.90
2021-03-05 11:15:53 +10:00
CefSharp.MinimalExample.OffScreen Upgrade to 88.2.90 (#131) 2021-03-05 11:15:53 +10:00
CefSharp.MinimalExample.WinForms Upgrade to 88.2.90 (#131) 2021-03-05 11:15:53 +10:00
CefSharp.MinimalExample.Wpf Upgrade to 88.2.90 (#131) 2021-03-05 11:15:53 +10:00
.gitattributes Added minimal example of how CefSharp can be used. Only WPF so far. 2013-11-12 13:14:11 +02:00
.gitignore Upgrade to 87.1.132 (#130) 2021-02-03 11:06:58 +10:00
CefSharp.MinimalExample.net472.sln Upgrade to 87.1.132 (#130) 2021-02-03 11:06:58 +10:00
CefSharp.MinimalExample.netcore.sln Upgrade to 88.2.90 (#131) 2021-03-05 11:15:53 +10:00
CefSharp.MinimalExample.sln CefSharp.MinimalExample.sln - Add AnyCPU Solution Platform 2021-02-08 16:53:54 +10:00
LICENSE Updated name of copyright holder. 2013-11-11 09:28:32 +02:00
NuGet.config Add app.manifest to Offscreen example so GPU acceleration works on windows 10 2016-07-05 12:29:08 +10:00
README.md Update README.md 2021-02-03 15:59:39 +10:00
UpdateNugetPackages.bat Upgrade to 88.2.90 (#131) 2021-03-05 11:15:53 +10:00

CefSharp.MinimalExample

Minimal example of how the CefSharp library can be used using the official Nuget packages

  • .NET Framework solution (CefSharp.MinimalExample.sln)
  • .NET Core solution (CefSharp.MinimalExample.netcore.sln).

Includes examples for

  • WinForms
  • WPF
  • OffScreen

For a more complete example of each project see the main CefSharp repository.

.NET Core support

For .Net Core 3.1/Net 5 the following packages are now on Nuget.org

It is possible to publish the application as single EXE file by adding -p:PublishSingleFile=true.

Any problems please report them on https://github.com/cefsharp/CefSharp/issues/3197

.NET 5 Support

The same packages listed above in the .Net Core section should be used for .Net 5.0