ricaun.Revit.CefSharp
2025.0.0
Prefix Reserved
dotnet add package ricaun.Revit.CefSharp --version 2025.0.0
NuGet\Install-Package ricaun.Revit.CefSharp -Version 2025.0.0
<PackageReference Include="ricaun.Revit.CefSharp" Version="2025.0.0" />
paket add ricaun.Revit.CefSharp --version 2025.0.0
#r "nuget: ricaun.Revit.CefSharp, 2025.0.0"
// Install ricaun.Revit.CefSharp as a Cake Addin #addin nuget:?package=ricaun.Revit.CefSharp&version=2025.0.0 // Install ricaun.Revit.CefSharp as a Cake Tool #tool nuget:?package=ricaun.Revit.CefSharp&version=2025.0.0
ricaun.Revit.CefSharp
This package automatically provides access to the appropriate CefSharp
version that has already been loaded and initialized by Revit, cf. the explanation
on encountering an error while using CefSharp.
PackageReference
<PackageReference Include="ricaun.Revit.CefSharp" Version="$(RevitVersion).*" IncludeAssets="build; compile" PrivateAssets="All" />
Revit - CefSharp
- Revit 2025 - 119.4.30
- Revit 2024 - 105.3.390
- Revit 2023 - 92.0.260
- Revit 2022 - 65.0.1
- Revit 2021 - 65.0.1
- Revit 2020 - 65.0.1
- Revit 2019 - 57.0.0
Usage
The CefSharp
is already initialized inside Revit before any plugin, just use the CefSharp.Wpf
reference inside your wpf works without any initialization requirement.
xmlns:cef="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
Use the cef:ChromiumWebBrowser
with an Address
to create a web browser in your wpf.
<cef:ChromiumWebBrowser Address="https://github.com/ricaun-io/ricaun.Revit.CefSharp" />
Example
<Window x:Class="RevitAddin.WebView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:cef="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf"
mc:Ignorable="d">
<Grid>
<cef:ChromiumWebBrowser Address="https://github.com/ricaun-io/ricaun.Revit.CefSharp" />
</Grid>
</Window>
Release
License
This project is licensed under the MIT License.
Do you like this project? Please star this project on GitHub!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.