hxc.ChromiumFX
3.3440.1
dotnet add package hxc.ChromiumFX --version 3.3440.1
NuGet\Install-Package hxc.ChromiumFX -Version 3.3440.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="hxc.ChromiumFX" Version="3.3440.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hxc.ChromiumFX --version 3.3440.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: hxc.ChromiumFX, 3.3440.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install hxc.ChromiumFX as a Cake Addin
#addin nuget:?package=hxc.ChromiumFX&version=3.3440.1
// Install hxc.ChromiumFX as a Cake Tool
#tool nuget:?package=hxc.ChromiumFX&version=3.3440.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Change project setting PlatformTarget to x86 or x64. this package does not support AnyCPU.
To use this package, install hxc.ChromiumWebBrowser and initialize cef with following code:
string assemblyDir = Path.GetDirectoryName(
new Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase).LocalPath
);
CfxRuntime.LibCefDirPath = assemblyDir;
CfxRuntime.LibCfxDirPath = CfxRuntime.LibCefDirPath;
ChromiumWebBrowser.OnBeforeCfxInitialize += (e) =>
{
e.Settings.CachePath = Path.Combine(assemblyDir, "cache");
e.Settings.ResourcesDirPath = Path.Combine(assemblyDir, "Resources");
e.Settings.LocalesDirPath = Path.Combine(e.Settings.ResourcesDirPath, "locales");
};
ChromiumWebBrowser.OnBeforeCommandLineProcessing += (e) =>
{
// add command line switch
};
ChromiumWebBrowser.Initialize();
// initialize window
Application.Run(new MainForm());
CfxRuntime.Shutdown();
cef compile settings:
is_win_fastlink=false
proprietary_codecs=true
ffmpeg_branding=Chrome
is_official_build=true
is_debug=false
remove_webcore_debug_symbols=true
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40-client is compatible. |
native | native is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.0 Client
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on hxc.ChromiumFX:
Package | Downloads |
---|---|
hxc.ChromiumWebBrowser
.NET bindings for the Chromium Embedded Framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.