hxc.ChromiumWebBrowser
3.3440.1
dotnet add package hxc.ChromiumWebBrowser --version 3.3440.1
NuGet\Install-Package hxc.ChromiumWebBrowser -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.ChromiumWebBrowser" Version="3.3440.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add hxc.ChromiumWebBrowser --version 3.3440.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: hxc.ChromiumWebBrowser, 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.ChromiumWebBrowser as a Cake Addin
#addin nuget:?package=hxc.ChromiumWebBrowser&version=3.3440.1
// Install hxc.ChromiumWebBrowser as a Cake Tool
#tool nuget:?package=hxc.ChromiumWebBrowser&version=3.3440.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
To use this package, install hxc.ChromiumFX 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();
Note: hxc.ChromiumFX does not support AnyCPU, change project setting PlatformTarget to x86 or x64.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40-client is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.0 Client
- hxc.ChromiumFX (>= 3.3440.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.