mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
d350cad52a
* Upgrade to CEF 93.1.7+g9117d6a+chromium-93.0.4577.42 / Chromium 93.0.4577.42
- Core - Add basic ref counting implementation
IMPLEMENT_REFCOUNTING implementation uses atomic which
forces the VC++ compiler to compile as native which doesn't work for our managed ref classes.
- Use InterlockedCompareExchange for custom ref count reads
- Use InterlockedIncrement/InterlockedDecrement directly
- There's no memory barrier for HasOneRef/HasAtLeastOneRef as the read of a LONG should happen in one operation
on 32/64 bit architectures (at least that's my understanding at this point in time).
References:
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_x86_msvc.h#L125
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_arm64_msvc.h#L107
https://github.com/chromiumembedded/cef/blob/4472/include/base/cef_atomic_ref_count.h#L114
https://github.com/chromiumembedded/cef/blob/4472/include/cef_base.h#L91
- Remove Microsoft.Net.Compilers package from projects
Now that we require a min of VS2019 to build there's no need for a custom compiler package
- Start removing VS2015/VC++2015 references
- Remove RegisterWidevineCdm
This is a breaking change. CEF will now automatically download the Widevine CDM component
Resolves #3767
- RequestContext.LoadExtension now uses managed to code spawn on CEF UI Thread
Avoid having to use cef_callback.h which was causing problems for x86 builds
62 lines
4.2 KiB
Plaintext
62 lines
4.2 KiB
Plaintext
CefSharp Nuget Package
|
|
|
|
Background:
|
|
CefSharp is a .Net wrapping library for CEF (Chromium Embedded Framework) https://bitbucket.org/chromiumembedded/cef
|
|
CEF is a C/C++ library that allows developers to embed the HTML content rendering strengths of Google's Chrome open source WebKit engine (Chromium).
|
|
|
|
Post Installation:
|
|
- Read the release notes for your version https://github.com/cefsharp/CefSharp/releases (Any known issues will be listed here)
|
|
- Read the `Need to know/limitations` section of the General usage guide (https://github.com/cefsharp/CefSharp/wiki/General-Usage#need-to-knowlimitations)
|
|
- For `x86` or x64` set your projects PlatformTarget architecture to `x86` or `x64`.
|
|
- `AnyCPU` target is supported though requires additional code/changes see https://github.com/cefsharp/CefSharp/issues/1714 for details.
|
|
- Check your output `\bin` directory to make sure the appropriate references have been copied.
|
|
- Add an app.manifest to your exe if you don't already have one, it's required for Windows 10 compatability, HighDPI support and tooltips. The https://github.com/cefsharp/CefSharp.MinimalExample project contains an example app.manifest file in the root of the WPF/WinForms/OffScreen examples.
|
|
|
|
Deployment:
|
|
- Make sure a minimum of `Visual C++ 2019` is installed (`x86` or x64` depending on your build) or package the runtime dlls with your application, see the FAQ for details.
|
|
|
|
What's New:
|
|
See https://github.com/cefsharp/CefSharp/wiki/ChangeLog
|
|
IMPORTANT NOTE - Visual C++ 2019 is now required
|
|
IMPORTANT NOTE - .NET Framework 4.5.2 is now required.
|
|
IMPORTANT NOTE - Chromium has removed support for Windows XP/2003 and Windows Vista/Server 2008 (non R2).
|
|
|
|
Basic Troubleshooting:
|
|
- Minimum of .Net 4.5.2
|
|
- Minimum of `Visual C++ 2019 Redist` is installed (either `x86` or `x64` depending on your application).
|
|
- Please ensure your binaries directory contains these required dependencies:
|
|
* libcef.dll (Chromium Embedded Framework Core library)
|
|
* icudtl.dat (Unicode Support data)
|
|
* chrome_elf.dll(Crash reporting library)
|
|
* snapshot_blob.bin, v8_context_snapshot.bin (V8 snapshot data)
|
|
* locales\en-US.pak, chrome_100_percent.pak, chrome_200_percent.pak, resources.pak, d3dcompiler_47.dll, libEGL.dll, libGLESv2.dll, swiftshader/libEGL.dll, swiftshader/libGLESv2.dll
|
|
- Whilst these are technically listed as optional, the browser is unlikely to function without these files.
|
|
- See https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-%28Redistribution%29 for details
|
|
* CefSharp.Core.dll, CefSharp.dll, CefSharp.Core.Runtime.dll
|
|
CefSharp.BrowserSubprocess.exe, CefSharp.BrowserSubProcess.Core.dll
|
|
- These are required CefSharp binaries that are the common core logic binaries of CefSharp.
|
|
* One of the following UI presentation libraries:
|
|
* CefSharp.WinForms.dll
|
|
* CefSharp.Wpf.dll
|
|
* CefSharp.OffScreen.dll
|
|
- Additional CEF files are described at: https://github.com/cefsharp/CefSharp/wiki/Output-files-description-table-%28Redistribution%29
|
|
- NOTE: CefSharp does not currently support CEF sandboxing.
|
|
- By default `CEF` has it's own log file, `Debug.log` which is located in your executing folder. e.g. `bin`
|
|
|
|
For further help please read the following content:
|
|
- General Usage Guide https://github.com/cefsharp/CefSharp/wiki/General-Usage
|
|
- Minimal Example Projects showing the browser in action (https://github.com/cefsharp/CefSharp.MinimalExample)
|
|
- CefSharp GitHub https://github.com/cefsharp/CefSharp
|
|
- CefSharp's Wiki on github (https://github.com/cefsharp/CefSharp/wiki)
|
|
- FAQ: https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions
|
|
- Troubleshooting guide (https://github.com/cefsharp/CefSharp/wiki/Trouble-Shooting)
|
|
- Google Groups (https://groups.google.com/forum/#!forum/cefsharp) - Historic reference only
|
|
- CefSharp vs Cef (https://github.com/cefsharp/CefSharp/blob/master/CONTRIBUTING.md#cefsharp-vs-cef)
|
|
- Join the active community and ask your question on Gitter Chat (https://gitter.im/cefsharp/CefSharp)
|
|
- If you have a reproducible bug then please open an issue on `GitHub`
|
|
|
|
Please consider giving back, it's only with your help will this project to continue.
|
|
|
|
Regards,
|
|
CefSharp Team
|