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                
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="ricaun.Revit.CefSharp" Version="2025.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ricaun.Revit.CefSharp --version 2025.0.0                
#r "nuget: ricaun.Revit.CefSharp, 2025.0.0"                
#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 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

Revit 2019 Visual Studio 2022 Nuke License MIT Build Release

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
2025.0.0 578 5/7/2024
2024.0.0 668 4/4/2023
2023.0.0 442 3/10/2023
2022.0.0 344 3/10/2023
2021.0.0 354 3/10/2023
2020.0.0 250 3/10/2023
2019.0.0 229 3/10/2023