Prevents Autodesk Revit add-in crashes from dependency version conflicts using AssemblyLoadContext isolation (Revit 2027+) or ILRepack repacking (legacy).
Ships in revit-solution. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add-ins share one process; two add-ins using different versions of the same dependency crash Revit.
Revit 2027+ isolates each add-in in its own AssemblyLoadContext; earlier versions need dependencies repacked into the add-in assembly.
The Nice3point.Revit.Sdk provides both.
FileNotFoundException) — use revit-assembly-resolution.Revit 2027+ isolation is declared in the .addin manifest.
Add a ManifestSettings block that gives the add-in its own load context:
<ManifestSettings>
<UseRevitContext>False</UseRevitContext>
<ContextName>RevitAddin</ContextName>
</ManifestSettings>
UseRevitContext=False loads the add-in in its own AssemblyLoadContext named by ContextName.
The add-in then uses any dependency version without a conflict with other add-ins.
Adding ManifestSettings on Revit versions older than 2027 crashes Revit — the SDK strips the node during publish for older years (see revit-addin-publishing).
This is separate from <EnableDynamicLoading>true</EnableDynamicLoading> — a stock .NET SDK property every modern add-in sets; it emits the add-in's dependencies to the output folder.
That property is a prerequisite for loading dependencies at all, not the isolation mechanism (see revit-sdk-project-configuration).
Revit 2026 and earlier provide no load-context isolation. Merge the dependencies into the add-in assembly with ILRepack.
<IsRepackable Condition="'$(RevitVersion)' < '2027'">true</IsRepackable>
<RepackBinariesExcludes>$(AssemblyName).UI.dll;System*.dll</RepackBinariesExcludes>
Repacking requires the ILRepack package and PublishAddin or DeployAddin.
ILRepack merges the assemblies in the publish and deploy directories, and the bin directory retains the original assemblies for the projects that reference the add-in, such as a test project.
Prefer isolation on 2027+ over repacking.
Load the add-in alongside another that uses a different version of the same dependency, and confirm both load without conflict.
.addin ManifestSettings block (not EnableDynamicLoading, which is a separate prerequisite).IsRepackable with an appropriate excludes list.ManifestSettings is not shipped raw to Revit versions older than 2027 (the SDK patches it on publish).| Pitfall | Correct approach |
|---|---|
ManifestSettings shipped to Revit < 2027 | Let the SDK patch the manifest on publish; retain the block for 2027+. |
Treating EnableDynamicLoading as the isolation switch | It only emits dependencies to the output folder; isolate with the manifest ManifestSettings block. |
| Repacking a .NET Core add-in | Use isolation on 2027+, not ILRepack. |
Repacking the UI or System.* assemblies | Exclude them via RepackBinariesExcludes. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
revit-addin, dependency-conflict, assembly-isolation, ilrepack
10 skills in this plugin
/revit-addin-bundlePackage a versioned Autodesk Revit add-in as an Autodesk App Store bundle with the Nice3point.Revit.Templates ModularPipelines build. USE FOR: setting the bundle vendor metadata and version, and running the build to produce a versioned .bundle with per-Revit-year contents for App Store distribution. DO NOT USE FOR: per-build deploy or publish to a local Revit (use revit-addin-publishing), or launching and debugging (use revit-addin-debugging).
/revit-addin-debuggingConfigure an Autodesk Revit add-in project's IDE launch of the matching Revit with the debugger attached, using the Nice3point.Revit.Sdk launch properties. USE FOR: setting up a project where a debug session launches the matching Revit and breaks in the add-in, overriding the Revit path or start arguments, and preserving Hot Reload while debugging. DO NOT USE FOR: copying built files to the Revit add-ins folder (use revit-addin-publishing), dependency isolation or repacking (use revit-dependency-isolation).
/revit-addin-publishingConfigure an Autodesk Revit add-in project to copy the add-in, .addin manifest to the local Revit or a `bin/publish` folder, using the Nice3point.Revit.Sdk publish targets. USE FOR: setting up a project for publishing, bundling extra content into the output, and relying on per-version manifest patching. DO NOT USE FOR: launching and debugging the add-in from the IDE (use revit-addin-debugging), dependency isolation or repacking (use revit-dependency-isolation), or packaging a versioned App Store bundle (use revit-addin-bundle).
/revit-api-referencesReference the Autodesk Revit API assemblies using the Nice3point.Revit.Api.* or Nice3point toolkit, extensions or other NuGet packages. USE FOR: adding a Revit API assembly reference. DO NOT USE FOR: the version matrix and conditional compilation (use revit-multi-version-configuration).
/revit-assembly-resolutionRedirect Autodesk Revit add-in assembly resolution to a plugin folder with Nice3point.Revit.Toolkit. USE FOR: fixing a FileNotFoundException when loading a WPF window or third-party dependency Revit cannot resolve, or pinning which folder a bounded load resolves from. DO NOT USE FOR: entry points derived from the Toolkit base classes (ExternalCommand, ExternalApplication, ExternalDBApplication), or preventing two add-ins' dependency versions from colliding process-wide (use revit-dependency-isolation).
/revit-multi-version-configurationSupport multiple Autodesk Revit versions in one project with Debug.RNN/Release.RNN configurations and REVIT#### conditional compilation. USE FOR: declaring the supported-version matrix, adding or removing a version, and writing #if REVIT####_OR_GREATER branches for genuine API differences. DO NOT USE FOR: what the SDK derives per version (use revit-sdk-project-configuration), or referencing the Revit API packages (use revit-api-references).
/revit-solution:revit-dependency-isolationfrom revit-solution
npx claudepluginhub nice3point/revit-skills --plugin revit-solutionOther plugins' skills for the same job