Skip to content

Dependency conflict with third-party plugins #269

Closed
3 of 3 issues completed
Closed
3 of 3 issues completed
@Nice3point

Description

@Nice3point

RevitLookup uses third-party dependencies produced by other developers. User plugins may also use these dependencies, but of different versions, which will cause a conflict and an exception on startup. We have no control over this process, and we cannot prevent other developers from using third-party libraries.

Why are you getting this error in RevitLookup and not in another plugin? Because plugins are loaded in alphabetical order, and the 'R' is near the end, so that's where you get the exception and RevitLookup not working. Unfortunately, the plugin that is loaded first forces Revit to use it dependencies for all plugins. And if it's outdated, RevitLookup, which uses the newest one, will simply be incompatible, if everything was in reverse order this could have been avoided.

At the moment there are some ways, disable conflicting plugins:

  • Use Revit 2025, in this version RevitLookup dependencies are isolated from other plugins.
  • Update user plugins to the newest version.
  • You can try to rename the RevitLookup loading manifest, give it a name like _RevitLookup.addin. Add-ins are loaded in alphabetic order.
  • Downgrade the RevitLookup version.
  • Download the DependenciesReport tool and analyse conflicts.
  • Download the AssembliesReport tool and share you report here.

Remember though, you can fix RevitLookup in this way, but there is a chance that conflicting plugins may not work.

RevitLookup dependencies list:
https://github.com/jeremytammik/RevitLookup/blob/dev/source/RevitLookup/RevitLookup.csproj#L45-L71

Sub-issues

Metadata

Metadata

Assignees

Labels

open discussion ☎️An issue open for active community discussion

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions