Giter Site home page Giter Site logo

cefsharp.minimalexample's Introduction

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 Stlye 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.

cefsharp.minimalexample's People

Contributors

amaitland avatar jornh avatar perlun avatar nikhilagrawaldotnet avatar 0x0309 avatar aaronls avatar evanwon avatar kpreisser avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.