Fixes FileNotFoundException in Revit add-ins by redirecting assembly resolution to a plugin folder using Nice3point.Revit.Toolkit's ResolveHelper. Useful when loading WPF windows or third-party dependencies.
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.
Revit does not probe an add-in's folder for dependencies; loading a window or third-party assembly can throw FileNotFoundException.
ResolveHelper (from Nice3point.Revit.Toolkit) redirects resolution to a type-adjacent or explicit folder for the scope's lifetime.
Scopes nest — the innermost is searched first.
ExternalCommand, AsyncExternalCommand, ExternalApplication, ExternalDBApplication) — they already open a resolve scope; a manual one is redundant.revit-dependency-isolation.using (ResolveHelper.BeginAssemblyResolveScope<Application>())
{
var window = new SettingsWindow();
window.Show();
}
The generic and typeof(...) overloads probe the folder of the given type's assembly.
Pass an explicit directory when the dependencies are located in another folder, such as a shared or external libraries folder:
using (ResolveHelper.BeginAssemblyResolveScope(@"C:\Libraries"))
{
return LoadExternalLibrary();
}
Open the scope only around the load that needs it, and nest scopes when a dependency version must be isolated from an outer one.
Confirm the dependency loads without a resolution error, and that resolution behavior is restored after the scope disposes.
| Pitfall | Correct approach |
|---|---|
A hand-written AppDomain.CurrentDomain.AssemblyResolve handler | Use ResolveHelper.BeginAssemblyResolveScope. |
| Adding a scope inside a Toolkit entry point | Remove it; the base class already opens a resolve scope. |
ResolveHelper not found | The Nice3point.Revit.Toolkit package is not referenced. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-dependency-isolationPrevent Autodesk Revit add-in dependency conflicts with AssemblyLoadContext isolation (Revit 2027+) or ILRepack repacking (legacy). USE FOR: resolving crashes caused by two add-ins loading different versions of the same dependency, by isolating the add-in's assemblies. DO NOT USE FOR: resolving a missing dependency at load time (use revit-assembly-resolution).
/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-assembly-resolutionfrom revit-solution
npx claudepluginhub nice3point/revit-skills --plugin revit-solutionOther plugins' skills for the same job