CefSharp Example
95f428829b
* Upgrade to 87.1.12-CI3846 - Upgrade to Net Core 3.1 (Required to use new Net Core packages) - Migrate to NetCore specific pages * Upgrade to 87.1.130-pre * OffScreen - Remove UseWindowsForms from csproj file No longer required as we use the Drawing nuget package Also causes a problem with Console.ReadLine * README.md - Update Net Core Section * WinForms - Add new SdkStyle .Net 4.7.2 project and solution TODO: Add OffScreen and WPF project files * Upgrade to 87.1.131-pre * Upgrade to 87.1.132 |
||
---|---|---|
CefSharp.MinimalExample.OffScreen | ||
CefSharp.MinimalExample.WinForms | ||
CefSharp.MinimalExample.Wpf | ||
.gitattributes | ||
.gitignore | ||
CefSharp.MinimalExample.net472.sln | ||
CefSharp.MinimalExample.netcore.sln | ||
CefSharp.MinimalExample.sln | ||
LICENSE | ||
NuGet.config | ||
README.md | ||
UpdateNugetPackages.bat |
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
The first -pre
set of NETCore/Net 5
packages are now on Nuget.org
- https://www.nuget.org/packages/CefSharp.WinForms.NETCore/87.1.130-pre
- https://www.nuget.org/packages/CefSharp.Wpf.NETCore/87.1.130-pre
- https://www.nuget.org/packages/CefSharp.OffScreen.NETCore/87.1.130-pre
- 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