Skip to content

Conversation

@pinzart90
Copy link
Collaborator

@pinzart90 pinzart90 commented Oct 13, 2025

Add this addin to enable revit isolation

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<RevitAddIns>
  <AddIn Type="Application">
    <Name>Dynamo For Revit</Name>
    <Assembly>D:\dev\DynamoRevit\bin\NET80\Debug\Revit\DynamoRevitDS.dll</Assembly>
    <AddInId>8D83C886-B739-4ACD-A9DB-1BC78F315B9B</AddInId>
    <FullClassName>Dynamo.Applications.DynamoRevitApp</FullClassName>
    <VendorId>ADSK</VendorId>
    <VendorDescription>Dynamo</VendorDescription>
  </AddIn>
  <ManifestSettings>
    <UseRevitContext>False</UseRevitContext>
    <ContextName>Tiberica</ContextName>
  </ManifestSettings>
</RevitAddIns>

Copy link
Collaborator

@amatviichuk amatviichuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more Assembly.loadFromcall need to be replaced.

Just a reminder: Make sure that Dynamo.addin file sets Dynamo for <ContextName>value, otherwise it will be loaded into a separate context.

try
{
var dynamoRevitAditionsAss = Assembly.LoadFrom(dynamoRevitAditionsPath);
var dynamoRevitAditionsAss = AssemblyLoadContext.GetLoadContext(Assembly.GetExecutingAssembly()).LoadFromAssemblyPath(dynamoRevitAditionsPath);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is one more Assembly.LoadFrom call in this file that also needs to be replaced. See Line number #62.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants