GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cefsharp/CefSharp.MinimalExample: Minimal example of how the CefSharp library can be used

BranchesTags
Open more actions menu

Latest commit

 

History

331 Commits
331 Commits

Folders and files

NameName
Last commit message
Last commit date
CefSharp.MinimalExample.OffScreen
CefSharp.MinimalExample.OffScreen
 
 
CefSharp.MinimalExample.WinForms
CefSharp.MinimalExample.WinForms
 
 
CefSharp.MinimalExample.Wpf.HwndHost
CefSharp.MinimalExample.Wpf.HwndHost
 
 
CefSharp.MinimalExample.Wpf
CefSharp.MinimalExample.Wpf
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CefSharp.MinimalExample.net472.sln
CefSharp.MinimalExample.net472.sln
 
 
CefSharp.MinimalExample.netcore.sln
CefSharp.MinimalExample.netcore.sln
 
 
CefSharp.MinimalExample.sln
CefSharp.MinimalExample.sln
 
 
LICENSE
LICENSE
 
 
NuGet.config
NuGet.config
 
 
README.md
README.md
 
 
UpdateNugetPackages.bat
UpdateNugetPackages.bat
 
 

Repository files navigation

CefSharp.MinimalExample

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

This project includes examples for

  • WinForms
  • WPF
  • OffScreen
Solution .Net Version Description
CefSharp.MinimalExample.sln .Net 4.5.2 Older Non-SDK Style projects that target .Net 4.5.2 and use packages.config
CefSharp.MinimalExample.net472.sln .Net 4.7.2 Newer SDK Style projects that target .Net 4.7.2 and use PackageReference
CefSharp.MinimalExample.netcore.sln .Net Core 3.1/5.0/6.0/7.0 Newer SDK Style projects that target .Net Core 3.1, .Net 5.0, .Net 6.0 and .Net 7.0 using PackageReference

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

.NET Core support

For .Net Core 3.1/Net 5/6/7 follow the Quick Start.

Publish Example

# Publish x86
dotnet publish -f netcoreapp3.1 -r win-x86
# Publish x64
dotnet publish -f netcoreapp3.1 -r win-x64
# Publish using current runtime identifier https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish
dotnet publish -f netcoreapp3.1 --use-current-runtime

For publishing as single file you need to Self Host the BrowserSubProcess, more details in cefsharp/CefSharp#3407 (comment)

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

.NET 5/6/7 Support

For .Net 5/6/7 follow the Quick Start.

About

Minimal example of how the CefSharp library can be used

Topics

c-sharpcefsharpnuget

Resources

Readme
MIT license
Activity
Custom properties

Stars

533 stars

Watchers

46 watching

Forks

423 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.