Pretty simple question to start. I’ve made an ECN following this tutorial:
Dynamo Unchained 2
That tutorial will give you two dlls: Functions and HelloUI. I can import Functions as a Zero Touch Node (ZTN) no problem in Sandbox 2.5.1.7586. The reason to use Sandbox is to reduce start up times of opening Revit, then opening Dynamo within it, as the dlls get locked. Sandbox is much faster for testing.
The second part imports fine in Dynamo for Revit. However, Sandbox will exit without any errors along the way (even if you attach to it and monitor the output). Lately, Sandbox would import the ECN into the menu, but as soon as I drag it out of the menu and into the graph work area, Dynamo crashes, and I get this inside Visual Studio:
The program '[19660] DynamoSandbox.exe: Managed (v4.0.30319)' has exited with code -2147483645 (0x80000003).
I’m beginning to suspect that ECNs are Dynamo for Revit specific? Can you use ECNs in Sandbox?