Skip to content

Is there a way to replace the DLL while Revit is open during the build process? #49

Answered by Nice3point
cbptamtom asked this question in Q&A
Discussion options

You must be logged in to vote

Many thanks) Using Host/DI the only option is to use Hot Reload or restart Revit. Hot Reload covers most cases. Starting with .Net 8 (Revit 2025) you can create a container in AssemblyLoadContext and configure its unloading. Another option is to set a dynamic name when building so Revit sees it as a new plugin

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cbptamtom
Comment options

@cbptamtom
Comment options

Answer selected by cbptamtom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants