DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.71k stars 629 forks source link

Library dependencies trying to load into Dynamo from Package #3090

Closed archinate closed 9 years ago

archinate commented 9 years ago

Hello all, I am trying to prepare a package which depends on providing several libraries (dlls) in addition to a Dynamo zero touch library. I am noticing that Dynamo attempts to load any library that is included in the package. In my case, things seem to load correctly... but it seems this could have unintended consequences in other circumstances.

Here is a screenshot of dependencies attempting to load into Dynamo... these should not be loaded into Dynamo at all and are referenced by another library. image

In my case, my "Rhynamo" tool ships with the following... only "CASE_Rhynamo.dll" should get loaded by Dynamo. The others are reference.

I should note that Grasshopper defines a special extension for dll libraries that get loaded as plug-ins. For example, a dll with a "gha" extension would get loaded into Grasshopper, whereas other dlls provided as dependencies are not loaded.

mjkkirschner commented 9 years ago

@tatlin @pboyer

mjkkirschner commented 9 years ago

I believe this pull request which was merged handles the issue:, if so, we may need some better documentation and UI hinting around this

https://github.com/DynamoDS/Dynamo/pull/2896

pboyer commented 9 years ago

@archinate That PR does solve your problem. You will need to declare which dll's are "node libraries" when submitting your package. This is done by simply right clicking on the assemblies in the Publish Package dialog. Please re-open if this is not your problem.