Skip to content
项目

cefsharp/CefSharp.MinimalExample

在 GitHub 查看

关于

CefSharp 库使用方式的最小示例

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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 https://github.com/cefsharp/CefSharp/issues/3407#issuecomment-787008626

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.

探索相关项目

加载中…