Scotec.Revit.Isolation
2027.3.3-dev.44
dotnet add package Scotec.Revit.Isolation --version 2027.3.3-dev.44
NuGet\Install-Package Scotec.Revit.Isolation -Version 2027.3.3-dev.44
<PackageReference Include="Scotec.Revit.Isolation" Version="2027.3.3-dev.44" />
<PackageVersion Include="Scotec.Revit.Isolation" Version="2027.3.3-dev.44" />
<PackageReference Include="Scotec.Revit.Isolation" />
paket add Scotec.Revit.Isolation --version 2027.3.3-dev.44
#r "nuget: Scotec.Revit.Isolation, 2027.3.3-dev.44"
#:package Scotec.Revit.Isolation@2027.3.3-dev.44
#addin nuget:?package=Scotec.Revit.Isolation&version=2027.3.3-dev.44&prerelease
#tool nuget:?package=Scotec.Revit.Isolation&version=2027.3.3-dev.44&prerelease
Scotec.Revit.Isolation
Assembly load context isolation support for Autodesk Revit add-ins.
Overview
Scotec.Revit.Isolation enables Revit add-ins to load their dependencies into isolated AssemblyLoadContext instances. This prevents version conflicts between add-ins and with Revit's own assemblies, which is essential when multiple add-ins are loaded in the same Revit process.
Key Features
- RevitApplicationIsolation: Marks IExternalApplication for isolated loading.
- RevitDbApplicationIsolationAttribute: Marks IExternalDBApplication for isolated loading.
- RevitCommandIsolation: Marks IExternalCommand for isolated loading.
- RevitCommandAvailabilityIsolation: Marks IExternalCommandAvailability for isolated loading.
- RevitAddinIsolationContext: Defines a named isolation context grouping entry points that share a single AssemblyLoadContext.
- RevitSharedIsolationContext: Marks assemblies or types shared across isolation boundaries.
- Factory and load context infrastructure is generated automatically at compile time by Scotec.Revit.Isolation.SourceGenerator. No hand-written boilerplate required.
- Includes build-transitive MSBuild props that propagate configuration to consuming projects.
Getting Started
Install the NuGet package:
dotnet add package Scotec.Revit.Isolation
Annotate your external application:
[RevitAddinIsolationContext("MyAddin")]
[RevitApplicationIsolation]
public sealed class MyApplication : RevitApp { }
Reference the generated factory type in your .addin manifest instead of the application class.
Related Packages
- Scotec.Revit https://www.nuget.org/packages/Scotec.Revit/
- Scotec.Revit.Isolation.SourceGenerator https://www.nuget.org/packages/Scotec.Revit.Isolation.SourceGenerator/
Documentation
License
MIT License https://licenses.nuget.org/MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Scotec.Revit.Isolation:
| Package | Downloads |
|---|---|
|
Scotec.Revit
Revit application and command base classes that support Inversion of Control (IoC). |
|
|
Scotec.Revit.Wpf
Adds WPF support to Scotec.Revit. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.3.3-dev.44 | 41 | 5/29/2026 |
| 2027.3.3-dev.26 | 68 | 5/22/2026 |
| 2027.3.3-dev.23 | 58 | 5/22/2026 |
| 2027.3.3-dev.22 | 58 | 5/22/2026 |
| 2027.3.2 | 131 | 5/4/2026 |
| 2026.3.3-dev.44 | 43 | 5/29/2026 |
| 2026.3.3-dev.26 | 65 | 5/22/2026 |
| 2026.3.3-dev.23 | 62 | 5/22/2026 |
| 2026.3.3-dev.22 | 56 | 5/22/2026 |
| 2025.3.3-dev.44 | 39 | 5/29/2026 |
| 2025.3.3-dev.26 | 71 | 5/22/2026 |
| 2025.3.3-dev.23 | 62 | 5/22/2026 |
| 2025.3.3-dev.22 | 60 | 5/22/2026 |