You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
CefSharp.MinimalExample.OffScreen | 6 months ago | |
CefSharp.MinimalExample.WinForms | 6 months ago | |
CefSharp.MinimalExample.Wpf | 6 months ago | |
.gitattributes | 10 years ago | |
.gitignore | 6 months ago | |
CefSharp.MinimalExample.net472.sln | 1 year ago | |
CefSharp.MinimalExample.netcore.sln | 2 years ago | |
CefSharp.MinimalExample.sln | 2 years ago | |
LICENSE | 10 years ago | |
NuGet.config | 7 years ago | |
README.md | 2 years ago | |
UpdateNugetPackages.bat | 6 months ago |
README.md
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
- https://www.nuget.org/packages/CefSharp.WinForms.NETCore
- https://www.nuget.org/packages/CefSharp.Wpf.NETCore
- https://www.nuget.org/packages/CefSharp.OffScreen.NETCore
- Publish Example
- x86: `dotnet publish -f netcoreapp3.1 -r win-x86
- x64: `dotnet publish -f netcoreapp3.1 -r win-x64
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