Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Minimal example of how the CefSharp library can be used

License

NotificationsYou must be signed in to change notification settings

cefsharp/CefSharp.MinimalExample

Repository files navigation

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

This project includes examples for

  • WinForms
  • WPF
  • OffScreen
Solution.Net VersionDescription
CefSharp.MinimalExample.sln.Net 4.5.2Older Non-SDK Style projects that target .Net 4.5.2 and use packages.config
CefSharp.MinimalExample.net472.sln.Net 4.7.2Newer 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.0Newer 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 mainCefSharp repository.

.NET Core support

For.Net Core 3.1/Net 5/6/7 follow theQuick Start.

Publish Example

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

For publishing as single file you need toSelf Host the BrowserSubProcess, more details incefsharp/CefSharp#3407 (comment)

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

.NET 5/6/7 Support

For.Net 5/6/7 follow theQuick Start.

About

Minimal example of how the CefSharp library can be used

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors9


[8]ページ先頭

©2009-2025 Movatter.jp